diff --git a/packages/sw/src/scripts/create-notification.ts b/packages/sw/src/scripts/create-notification.ts index f33ab1c33..e96f8585c 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 ca75e395c..be4f066b5 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 080161cf1..b79fd8ce7 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';