Skip to content

Commit

Permalink
fix: change assert to with
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jul 30, 2024
1 parent 5180526 commit 6ba8467
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/widget/src/i18n/i18next.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import en from './en.json' assert { type: 'json' };
import en from './en.json' with { type: 'json' };

const defaultResource = { translation: en };

Expand Down
30 changes: 15 additions & 15 deletions packages/widget/src/i18n/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import bn from './bn.json' assert { type: 'json' };
import de from './de.json' assert { type: 'json' };
import en from './en.json' assert { type: 'json' };
import es from './es.json' assert { type: 'json' };
import fr from './fr.json' assert { type: 'json' };
import id from './id.json' assert { type: 'json' };
import it from './it.json' assert { type: 'json' };
import ja from './ja.json' assert { type: 'json' };
import ko from './ko.json' assert { type: 'json' };
import pt from './pt.json' assert { type: 'json' };
import th from './th.json' assert { type: 'json' };
import tr from './tr.json' assert { type: 'json' };
import uk from './uk.json' assert { type: 'json' };
import vi from './vi.json' assert { type: 'json' };
import zh from './zh.json' assert { type: 'json' };
import bn from './bn.json' with { type: 'json' };
import de from './de.json' with { type: 'json' };
import en from './en.json' with { type: 'json' };
import es from './es.json' with { type: 'json' };
import fr from './fr.json' with { type: 'json' };
import id from './id.json' with { type: 'json' };
import it from './it.json' with { type: 'json' };
import ja from './ja.json' with { type: 'json' };
import ko from './ko.json' with { type: 'json' };
import pt from './pt.json' with { type: 'json' };
import th from './th.json' with { type: 'json' };
import tr from './tr.json' with { type: 'json' };
import uk from './uk.json' with { type: 'json' };
import vi from './vi.json' with { type: 'json' };
import zh from './zh.json' with { type: 'json' };

export { bn, de, en, es, fr, id, it, ja, ko, pt, th, tr, uk, vi, zh };

0 comments on commit 6ba8467

Please sign in to comment.