summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/get-note-summary.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-09-04 13:33:38 +0900
committerGitHub <noreply@github.com>2023-09-04 13:33:38 +0900
commit1f7a81aae71f85a47393491a7795b953e2427041 (patch)
tree5da5ed9d86ca7e536b789da26a350796e9a7a3dd /packages/frontend/src/scripts/get-note-summary.ts
parentMerge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff)
downloadmisskey-1f7a81aae71f85a47393491a7795b953e2427041.tar.gz
misskey-1f7a81aae71f85a47393491a7795b953e2427041.tar.bz2
misskey-1f7a81aae71f85a47393491a7795b953e2427041.zip
update deps (#11764)
* update deps * node16 * wip * wip * wip * Update test-utils.ts * wip * Update tsconfig.json * wip * Update package.json * wip * Update following.vue * Update followers.vue * Update index.vue * Update share.vue * Update MkUserPopup.vue * Update MkPostForm.vue * wip * Update MkTokenGenerateWindow.vue * Update MkPagination.vue * refactor * update deps * update deps * Update sw.ts * wip * wip * wip * Update FetchInstanceMetadataService.ts * Update FetchInstanceMetadataService.ts * update node * update deps * :art:
Diffstat (limited to 'packages/frontend/src/scripts/get-note-summary.ts')
-rw-r--r--packages/frontend/src/scripts/get-note-summary.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/scripts/get-note-summary.ts b/packages/frontend/src/scripts/get-note-summary.ts
index 67d6485760..b277200157 100644
--- a/packages/frontend/src/scripts/get-note-summary.ts
+++ b/packages/frontend/src/scripts/get-note-summary.ts
@@ -3,14 +3,14 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
-import * as misskey from 'misskey-js';
+import * as Misskey from 'misskey-js';
import { i18n } from '@/i18n';
/**
* 投稿を表す文字列を取得します。
* @param {*} note (packされた)投稿
*/
-export const getNoteSummary = (note: misskey.entities.Note): string => {
+export const getNoteSummary = (note: Misskey.entities.Note): string => {
if (note.deletedAt) {
return `(${i18n.ts.deletedNote})`;
}