global.d.ts 305 B

12345678
  1. // 预留扩展点:由业务侧通过声明合并补充字段
  2. // eslint-disable-next-line @typescript-eslint/no-empty-object-type
  3. interface PreferencesExtension {}
  4. // 全局工具类型:同步或异步返回值。
  5. type MaybePromise<T> = Promise<T> | T;
  6. type Recordable<T = any> = Record<string, T>;