prmbr-image-mksaas/global.d.ts
2025-04-18 21:47:14 +08:00

15 lines
351 B
TypeScript

import type { routing } from '@/i18n/routing';
import type messages from './messages/en.json';
/**
* next-intl 4.0.0
*
* https://github.com/amannn/next-intl/blob/main/examples/example-app-router/global.d.ts
*/
declare module 'next-intl' {
interface AppConfig {
Locale: (typeof routing.locales)[number];
Messages: typeof messages;
}
}