vite-env.d.ts 539 B

12345678910111213141516
  1. /// <reference types="vite/client" />
  2. type DeepWriteable<T> = { -readonly [P in keyof T]: DeepWriteable<T[P]> }
  3. declare type Recordable<T = any> = Record<string, T>
  4. declare type I18nGlobalTranslation = {
  5. (key: string): string
  6. (key: string, locale: string): string
  7. (key: string, locale: string, list: unknown[]): string
  8. (key: string, locale: string, named: Record<string, unknown>): string
  9. (key: string, list: unknown[]): string
  10. (key: string, named: Record<string, unknown>): string
  11. }
  12. declare const $t: I18nGlobalTranslation