-
-
Notifications
You must be signed in to change notification settings - Fork 515
Expand file tree
/
Copy pathinternals.d.ts
More file actions
35 lines (28 loc) · 1.28 KB
/
internals.d.ts
File metadata and controls
35 lines (28 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
declare module '#build/i18n-options.mjs' {
import type { LocaleObject, VueI18nConfig } from '@nuxtjs/i18n'
export type { LocaleObject }
type LocaleLoader = { key: string, cache: boolean, load: () => Promise<never> }
export const localeLoaders: Record<string, LocaleLoader[]>
export const vueI18nConfigs: VueI18nConfig[]
export const localeCodes: string[]
export const normalizedLocales: LocaleObject[]
}
declare module '#internal/i18n-options.mjs' {
import type { LocaleObject, VueI18nConfig } from '@nuxtjs/i18n'
type LocaleLoader = { key: string, cache: boolean, load: () => Promise<never> }
export const localeLoaders: Record<string, LocaleLoader[]>
export const vueI18nConfigs: VueI18nConfig[]
export const localeCodes: string[]
export const normalizedLocales: LocaleObject[]
}
declare module '#internal/i18n-locale-detector.mjs' {
export const localeDetector: ((event: H3Event, config: LocaleConfig) => string) | undefined
}
declare module '#internal/i18n-type-generation-options' {
export const dtsFile: string
}
declare module '#build/i18n-route-resources.mjs' {
export const i18nPathToPath: Record<string, string>
export const pathToI18nConfig: Record<string, Record<string, string | boolean>>
export const disabledI18nPathToPath: Record<string, string>
}