[其他] 初始化项目结构

This commit is contained in:
就眠仪式
2021-09-27 06:09:33 +08:00
commit b2fa2b90b8
73 changed files with 9752 additions and 0 deletions

1
src/module/type/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './public'

17
src/module/type/public.ts Normal file
View File

@@ -0,0 +1,17 @@
import type { App, DefineComponent } from 'vue'
export type StringObject = Record<string, unknown>
export type UnknownObject = Record<string | number, unknown>
export type UnknownFunction = (...arg: unknown[]) => unknown
export type IDefineComponent<Props = UnknownObject> = DefineComponent<Props> & {
install: (app: App, options?: InstallOptions) => void
}
export interface InstallOptions extends StringObject {
/** Pagination Attributes */
pagination?: null
/** Menu Attributes */
menu?: null
}