Files
dax-pay-ui/src/components/types.ts
2020-12-23 21:51:22 +08:00

7 lines
192 B
TypeScript

import { defineComponent } from 'vue';
export type Component<T extends any = any> =
| ReturnType<typeof defineComponent>
| (() => Promise<typeof import('*.vue')>)
| (() => Promise<T>);