diff --git a/packages/sw/src/scripts/create-notification.ts b/packages/sw/src/scripts/create-notification.ts index f33ab1c33c..e96f8585c7 100644 --- a/packages/sw/src/scripts/create-notification.ts +++ b/packages/sw/src/scripts/create-notification.ts @@ -6,7 +6,7 @@ /* * Notification manager for SW */ -import type { BadgeNames, PushNotificationDataMap } from '@/types'; +import type { BadgeNames, PushNotificationDataMap } from '@/types.js'; import { char2fileName } from '@/scripts/twemoji-base.js'; import { cli } from '@/scripts/operations.js'; import { getAccountFromId } from '@/scripts/get-account-from-id.js'; diff --git a/packages/sw/src/scripts/operations.ts b/packages/sw/src/scripts/operations.ts index ca75e395c0..be4f066b5f 100644 --- a/packages/sw/src/scripts/operations.ts +++ b/packages/sw/src/scripts/operations.ts @@ -8,7 +8,7 @@ * 各種操作 */ import * as Misskey from 'misskey-js'; -import type { SwMessage, SwMessageOrderType } from '@/types'; +import type { SwMessage, SwMessageOrderType } from '@/types.js'; import { getAccountFromId } from '@/scripts/get-account-from-id.js'; import { getUrlWithLoginId } from '@/scripts/login-id.js'; diff --git a/packages/sw/src/sw.ts b/packages/sw/src/sw.ts index 080161cf14..b79fd8ce7a 100644 --- a/packages/sw/src/sw.ts +++ b/packages/sw/src/sw.ts @@ -5,7 +5,7 @@ import { get } from 'idb-keyval'; import * as Misskey from 'misskey-js'; -import type { PushNotificationDataMap } from '@/types'; +import type { PushNotificationDataMap } from '@/types.js'; import { createEmptyNotification, createNotification } from '@/scripts/create-notification.js'; import { swLang } from '@/scripts/lang.js'; import * as swos from '@/scripts/operations.js';