global.d.ts 308 B

12345678910111213141516171819
  1. interface Window {
  2. $loading: any
  3. $message: any
  4. $dialog: any
  5. // 语言
  6. $t: any
  7. $vue: any
  8. // 键盘按键记录
  9. $KeyboardActive?: { [T: string]: boolean }
  10. }
  11. declare interface MyResponseType {
  12. code: number;
  13. msg: string;
  14. data: any;
  15. }
  16. declare type Recordable<T = any> = Record<string, T>