We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Now, we can't support like:
import Vue, { PropType } from 'vue' type Bar = 'cac' | 'oao' interface Foo { c: Bar } export default Vue.extends({ props: { foo: { type: Object as PropType<Foo> }, bar: { type: String as PropType<Bar> } } })
I think we can try to analysis type recursive. convert Foo to { c: 'cac' | 'oao' }.
{ c: 'cac' | 'oao' }
The text was updated successfully, but these errors were encountered:
Use real proptype for prop type validation. Fix #2343. Fix #2312
90e87f8
No branches or pull requests
Feature Request
Now, we can't support like:
I think we can try to analysis type recursive.
convert Foo to
{ c: 'cac' | 'oao' }
.The text was updated successfully, but these errors were encountered: