added tons of features
This commit is contained in:
11
global.d.ts
vendored
Normal file
11
global.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import uk from './messages/uk.json'
|
||||
import {formats} from '@/i18n/request'
|
||||
import {routing} from '@/i18n/routing'
|
||||
|
||||
declare module 'next-intl' {
|
||||
interface AppConfig {
|
||||
Messages: typeof uk
|
||||
Formats: typeof formats
|
||||
Locale: (typeof routing.locales)[number]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user