Open panteparak opened 2 years ago
PropType are used as a way to indicate that a Prop needs an object. Currently, it has to be imported from Vue. I would like nuxt-property-decorator to expose PropType to minimize and tidy up import statements.
For more details see here
Such as
import { PropType } from 'vue' import { Prop } from 'nuxt-property-decorator' @Prop({ default: () => [], type: Array as PropType<SomeInterface>})
Resulting Outcomes
import { Prop, PropType } from 'nuxt-property-decorator' @Prop({ default: () => [], type: Array as PropType<SomeInterface>})
PropType are used as a way to indicate that a Prop needs an object. Currently, it has to be imported from Vue. I would like nuxt-property-decorator to expose PropType to minimize and tidy up import statements.
For more details see here
Such as
Resulting Outcomes