You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just downloaded the project. Installed all dependencies with pnpm, shamefully hoist and all those caveats known in PNPM.
Changed a few things in About page and then I noticed something.
I am getting Type checking in ts files. I am also getting Type checking within .vue files within the <script> tags.
However, when it comes to getting Type checking I do not get any type checking regarding props of imported components. I only get type inference for things within the "self" script tag.
See below:
Basically, any component that is external to the current file, used in template is being typed as any. I have no clue why this is happening. Do you have any ideia?
The text was updated successfully, but these errors were encountered:
FranciscoKloganB
changed the title
[typescript template] not working
[typescript template] not working - help wanted
Mar 1, 2023
Just downloaded the project. Installed all dependencies with
pnpm
, shamefully hoist and all those caveats known in PNPM.Changed a few things in About page and then I noticed something.
I am getting Type checking in
ts
files. I am also getting Type checking within.vue
files within the<script>
tags.However, when it comes to getting Type checking I do not get any type checking regarding props of imported components. I only get type inference for things within the "self" script tag.
See below:
Basically, any component that is external to the current file, used in template is being typed as
any
. I have no clue why this is happening. Do you have any ideia?The text was updated successfully, but these errors were encountered: