🚨 Fixed all linter errors

This commit is contained in:
Mawoka
2022-06-21 21:02:43 +02:00
parent 1de17afbda
commit 021f2c7150
5 changed files with 10 additions and 1 deletions
@@ -2,6 +2,7 @@ import type { I18nService } from './i18n-service';
import { derived, writable } from 'svelte/store';
import type { Readable, Writable } from 'svelte/store';
// eslint-disable-next-line no-unused-vars
export type TType = (text: string, replacements?: Record<string, unknown>) => string;
export interface TranslationService {
@@ -32,6 +33,7 @@ export class I18NextTranslationService implements TranslationService {
set(newLocale);
};
// eslint-disable-next-line no-unused-vars
const updateLocale = (updater: (value: string) => string) => {
update((currentValue) => {
const nextLocale = updater(currentValue);