Skip to content

Commit a5c9897

Browse files
committed
fix(global.d.ts): 🐛 Update Messages type to include blog localization
1 parent 8961db9 commit a5c9897

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/docs/global.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/// <reference types="next-intl" />
22

33
import type core from './src/locales/@vitnode/core/en.json';
4+
import type blog from './src/locales/@vitnode/blog/en.json';
45

56
declare module 'next-intl' {
67
interface AppConfig {
7-
Messages: typeof core;
8+
Messages: typeof core & typeof blog;
89
}
910
}

0 commit comments

Comments
 (0)