14 changed files with 20 additions and 13 deletions
@ -1,3 +1,6 @@ |
|||
import { defineComponent } from 'vue'; |
|||
|
|||
export type Component = ReturnType<typeof defineComponent>; |
|||
export type Component<T extends any = any> = |
|||
| ReturnType<typeof defineComponent> |
|||
| (() => Promise<typeof import('*.vue')>) |
|||
| (() => Promise<T>); |
|||
|
|||
Loading…
Reference in new issue