Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VTI not compatible with Typescript 4.6.4. #3424

Closed
kberg opened this issue May 5, 2022 · 4 comments
Closed

VTI not compatible with Typescript 4.6.4. #3424

kberg opened this issue May 5, 2022 · 4 comments

Comments

@kberg
Copy link

kberg commented May 5, 2022

Info

  • Platform: Linux
  • Vetur version: VTI v 0.1.3
  • VS Code version: 1.66.2

Problem

npx tsc -V
Version 4.6.4

Running npx vti diagnostics

File : .../src/client/components/Board.vue:1:1
Error: Cannot find name '__vlsComponentHelper'.
> 1 | <template>
    | ^
  2 |     <div :class="getGameBoardClassName()">
  3 |         <div class="hide-tile-button-container">
  4 |           <div class="hide-tile-button" @click="$emit('toggleHideTiles')" data-test="hide-tiles-button">
File : .../src/client/components/Board.vue:1:1
Error: 'this' implicitly has type 'any' because it does not have a type annotation.
> 1 | <template>
    | ^
  2 |     <div :class="getGameBoardClassName()">
  3 |         <div class="hide-tile-button-container">
  4 |           <div class="hide-tile-button" @click="$emit('toggleHideTiles')" data-test="hide-tiles-button">

This occurs with every .vue file in the repo.

I was able to eliminate the issue by downgrading to Typescript 4.4.4.

Reproducible Case

At the risk of having the issue closed, I probably won't generate the project given the guidance below, but I can endeavor to recreate it with my open source project if you like. (In the meantime I'm going to proceed with unbreaking my own build. ;))

@fuyunv
Copy link

fuyunv commented May 27, 2022

same problem, needs help.

@kraegpoeth
Copy link

same problem on "typescript": "<4.6.0",

@ascott18
Copy link

Duplicate of #3323

yoyo930021 added a commit that referenced this issue Jul 11, 2022
@yoyo930021
Copy link
Member

Duplicate of #3323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants