Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

vue-property-decorator types for @Props are all "unknown" #79

@JessicaSachs

Description

@JessicaSachs

When types are declared in vue-property-decorator syntax, they're not picked up properly by vue-docgen-api

<script>
import { Vue, Component, Prop } from 'vue-property-decorator';
@Component
export default class MyComponent extends Vue {
    @Prop({ type: String }) text;

    /** Style properties to be overriden using $.css syntax */
    @Prop({ type: Object, default: () => ({}) }) styles;
}
</script>

screen shot 2019-01-22 at 11 33 21 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions