types: 迁移types

This commit is contained in:
kailong321200875
2023-05-31 16:24:28 +08:00
parent e34b5cb613
commit 46b35e48b3
30 changed files with 1176 additions and 2588 deletions

6
types/global.d.ts vendored
View File

@@ -17,6 +17,12 @@ declare global {
declare type TimeoutHandle = ReturnType<typeof setTimeout>
declare type IntervalHandle = ReturnType<typeof setInterval>
declare type ElementPlusSize = 'default' | 'small' | 'large'
declare type ElementPlusInfoType = 'success' | 'info' | 'warning' | 'danger'
declare type LayoutType = 'classic' | 'topLeft' | 'top' | 'cutMenu'
declare type AxiosHeaders =
| 'application/json'
| 'application/x-www-form-urlencoded'