[WEB-5416] fix: Use proper import syntax (#8105)
This commit is contained in:
parent
34c0e81d8e
commit
95c742244e
526 changed files with 1002 additions and 923 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { TLanguage, ILanguageOption } from "../types";
|
||||
import type { TLanguage, ILanguageOption } from "../types";
|
||||
|
||||
export const FALLBACK_LANGUAGE: TLanguage = "en";
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { useContext } from "react";
|
|||
// context
|
||||
import { TranslationContext } from "../context";
|
||||
// types
|
||||
import { ILanguageOption, TLanguage } from "../types";
|
||||
import type { ILanguageOption, TLanguage } from "../types";
|
||||
|
||||
export type TTranslationStore = {
|
||||
t: (key: string, params?: Record<string, unknown>) => string;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { FALLBACK_LANGUAGE, SUPPORTED_LANGUAGES, LANGUAGE_STORAGE_KEY, ETranslat
|
|||
// core translations imports
|
||||
import { enCore, locales } from "../locales";
|
||||
// types
|
||||
import { TLanguage, ILanguageOption, ITranslations } from "../types";
|
||||
import type { TLanguage, ILanguageOption, ITranslations } from "../types";
|
||||
|
||||
/**
|
||||
* Mobx store class for handling translations and language changes in the application
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue