From 41936c16c420ff75148aa0a4c5908793d4700ea5 Mon Sep 17 00:00:00 2001 From: timesince Date: Mon, 12 Aug 2024 13:03:16 +0800 Subject: [PATCH] chore: fix some comments (#14394) Signed-off-by: timesince --- packages/backend/src/core/NoteDeleteService.ts | 2 +- packages/misskey-js/test-d/api.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/core/NoteDeleteService.ts b/packages/backend/src/core/NoteDeleteService.ts index 801ed02e00..b7c01c64c8 100644 --- a/packages/backend/src/core/NoteDeleteService.ts +++ b/packages/backend/src/core/NoteDeleteService.ts @@ -92,7 +92,7 @@ export class NoteDeleteService { this.deliverToConcerned(user, note, content); } - // also deliever delete activity to cascaded notes + // also deliver delete activity to cascaded notes const federatedLocalCascadingNotes = (cascadingNotes).filter(note => !note.localOnly && note.userHost == null); // filter out local-only notes for (const cascadingNote of federatedLocalCascadingNotes) { if (!cascadingNote.user) continue; diff --git a/packages/misskey-js/test-d/api.ts b/packages/misskey-js/test-d/api.ts index 4b72ff4e9d..ca6d8dcb88 100644 --- a/packages/misskey-js/test-d/api.ts +++ b/packages/misskey-js/test-d/api.ts @@ -11,7 +11,7 @@ describe('API', () => { expectType(res); }); - test('conditional respose type (meta)', async () => { + test('conditional response type (meta)', async () => { const cli = new Misskey.api.APIClient({ origin: 'https://misskey.test', credential: 'TOKEN' @@ -30,7 +30,7 @@ describe('API', () => { expectType(res4); }); - test('conditional respose type (users/show)', async () => { + test('conditional response type (users/show)', async () => { const cli = new Misskey.api.APIClient({ origin: 'https://misskey.test', credential: 'TOKEN'