mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 04:03:10 +02:00
fix storybook
This commit is contained in:
parent
6ed7d1a76e
commit
74e565b71c
2 changed files with 2 additions and 2 deletions
2
locales/index.d.ts
vendored
2
locales/index.d.ts
vendored
|
@ -2159,4 +2159,4 @@ export interface Locale {
|
||||||
declare const locales: {
|
declare const locales: {
|
||||||
[lang: string]: Locale;
|
[lang: string]: Locale;
|
||||||
};
|
};
|
||||||
export = locales;
|
export default locales;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { writeFile } from 'node:fs/promises';
|
import { writeFile } from 'node:fs/promises';
|
||||||
import * as locales from '../../../locales/index.js';
|
import locales from '../../../locales/index.js';
|
||||||
|
|
||||||
await writeFile(
|
await writeFile(
|
||||||
new URL('locale.ts', import.meta.url),
|
new URL('locale.ts', import.meta.url),
|
||||||
|
|
Loading…
Reference in a new issue