Skip to content

Commit

Permalink
Merge pull request #10825 from DestinyItemManager/import-assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis authored Dec 3, 2024
2 parents 8ba5d47 + b8e1a34 commit ed034db
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/@types/i18next.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import the original type declarations
import type en from 'config/i18n.json' assert { type: 'json' };
import type en from 'config/i18n.json' with { type: 'json' };
import 'i18next';

declare module 'i18next' {
Expand Down
26 changes: 13 additions & 13 deletions src/build-browsercheck-utils.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
import fs from 'node:fs';

import de from './locale/de.json' assert { type: 'json' };
import en from './locale/en.json' assert { type: 'json' };
import es from './locale/es.json' assert { type: 'json' };
import esMX from './locale/esMX.json' assert { type: 'json' };
import fr from './locale/fr.json' assert { type: 'json' };
import it from './locale/it.json' assert { type: 'json' };
import ja from './locale/ja.json' assert { type: 'json' };
import ko from './locale/ko.json' assert { type: 'json' };
import pl from './locale/pl.json' assert { type: 'json' };
import ptBR from './locale/ptBR.json' assert { type: 'json' };
import ru from './locale/ru.json' assert { type: 'json' };
import zhCHS from './locale/zhCHS.json' assert { type: 'json' };
import zhCHT from './locale/zhCHT.json' assert { type: 'json' };
import de from './locale/de.json' with { type: 'json' };
import en from './locale/en.json' with { type: 'json' };
import es from './locale/es.json' with { type: 'json' };
import esMX from './locale/esMX.json' with { type: 'json' };
import fr from './locale/fr.json' with { type: 'json' };
import it from './locale/it.json' with { type: 'json' };
import ja from './locale/ja.json' with { type: 'json' };
import ko from './locale/ko.json' with { type: 'json' };
import pl from './locale/pl.json' with { type: 'json' };
import ptBR from './locale/ptBR.json' with { type: 'json' };
import ru from './locale/ru.json' with { type: 'json' };
import zhCHS from './locale/zhCHS.json' with { type: 'json' };
import zhCHT from './locale/zhCHT.json' with { type: 'json' };

/**
* @param {string} key
Expand Down

0 comments on commit ed034db

Please sign in to comment.