diff options
Diffstat (limited to 'packages/sw/src')
| -rw-r--r-- | packages/sw/src/scripts/lang.ts | 2 | ||||
| -rw-r--r-- | packages/sw/src/sw.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/sw/src/scripts/lang.ts b/packages/sw/src/scripts/lang.ts index 3000160e41..40b6aa4e7b 100644 --- a/packages/sw/src/scripts/lang.ts +++ b/packages/sw/src/scripts/lang.ts @@ -8,7 +8,7 @@ */ import { get, set } from 'idb-keyval'; import { I18n } from '@@/js/i18n.js'; -import type { Locale } from '../../../../locales/index.js'; +import type { Locale } from 'i18n'; class SwLang { public cacheName = `mk-cache-${_VERSION_}`; diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 298af4b4b6..5cece73401 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -7,7 +7,7 @@ import { get } from 'idb-keyval'; import * as Misskey from 'misskey-js'; import type { PushNotificationDataMap } from '@/types.js'; import type { I18n } from '@@/js/i18n.js'; -import type { Locale } from '../../../locales/index.js'; +import type { Locale } from 'i18n'; import { createEmptyNotification, createNotification } from '@/scripts/create-notification.js'; import { swLang } from '@/scripts/lang.js'; import * as swos from '@/scripts/operations.js'; |