Skip to content

Commit d693c7a

Browse files
committed
Add type declaration to languages.json import
1 parent b81f5e1 commit d693c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Options.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { wrapper } from './Options.module.css';
77
import { supportedReactVersions } from './reactVersions.js';
88
import { supportedLocales } from './i18n/i18n.js';
99

10-
import languages from './i18n/languages.json';
10+
import languages from './i18n/languages.json' with { type: 'json' };
1111

1212
import type { ReactVersion } from './types.js';
1313

0 commit comments

Comments
 (0)