Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change assert to with #279

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 };