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
The problem
Since this PR is merged Vue supports prop declaration with typescript types (Without using the class-based syntax). for example:
interface SelectOption { label: string; value: string | number; } export default Vue.extend({ props: { value: { type: [String, Number] as Prop<SelectOption['value']>, default: undefined } ...
The vue-docgen-parser returns undefined in this case resulting in types being not documented in the generated styleguide.
Proposed solution
Extend the parser to support the Typescript prop types when using the Vue.extend syntax.
The text was updated successfully, but these errors were encountered:
c57c243
No branches or pull requests
The problem
Since this PR is merged Vue supports prop declaration with typescript types (Without using the class-based syntax). for example:
The vue-docgen-parser returns undefined in this case resulting in types being not documented in the generated styleguide.
Proposed solution
Extend the parser to support the Typescript prop types when using the Vue.extend syntax.
The text was updated successfully, but these errors were encountered: