Hacker News new | ask | show | jobs
by basil-rash 2825 days ago
The type is verified at runtime though
1 comments

It can also be verified at compile time when using vue-class-component.
If it's a primitive type, yes. Throw in a union, a generic, or a conditional and everything blows up.