Template Literal Types support #248
Closed
johnsoncodehk
started this conversation in
General
Replies: 3 comments
-
cc @pikax |
Beta Was this translation helpful? Give feedback.
0 replies
-
Some work already wok the works to add for emit and events, i can add for props too |
Beta Was this translation helpful? Give feedback.
0 replies
-
The closure has been implemented. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TypeScript 4.1 supports more string type variants, please see: microsoft/TypeScript#40336
It can be used to improve the type inference of props / emits... to help IDE typecheck. Backward compatibility is a problem, but we can consider use to
defineComponent
in future.Playground
Beta Was this translation helpful? Give feedback.
All reactions