mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-30 15:58:19 +09:00
fix(locales, storybook): use default import (#11259)
This commit is contained in:
parent
b97694b083
commit
cd9affd568
2
locales/index.d.ts
vendored
2
locales/index.d.ts
vendored
@ -2158,4 +2158,4 @@ export interface Locale {
|
||||
declare const locales: {
|
||||
[lang: string]: Locale;
|
||||
};
|
||||
export = locales;
|
||||
export default locales;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { writeFile } from 'node:fs/promises';
|
||||
import * as locales from '../../../locales/index.js';
|
||||
import locales from '../../../locales/index.js';
|
||||
|
||||
await writeFile(
|
||||
new URL('locale.ts', import.meta.url),
|
||||
|
Loading…
Reference in New Issue
Block a user