What is TS Plugin? #219
wenfangdu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since TypeScript cannot handle type information for
.vue
imports, they are shimmed to be a generic Vue component type by default. In most cases, this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in.vue
imports (for example to get props validation when using manualh(...)
calls), then you need to enable this plugin.Beta Was this translation helpful? Give feedback.
All reactions