From 1b27fb1a6589056de6610c3bcfbd6e8ba2d41979 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 13 May 2025 16:13:15 +0100 Subject: [PATCH] fix types in `test/utils.ts` --- packages/backend/test/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/test/utils.ts b/packages/backend/test/utils.ts index 90a00e2096..0b5bf38cc2 100644 --- a/packages/backend/test/utils.ts +++ b/packages/backend/test/utils.ts @@ -696,7 +696,7 @@ export async function captureWebhook(postAction: () => // the packed user inside each note returned by `users/notes` has the // latest `notesCount`, not the count at the time the note was // created, so we override it -export function withNotesCount(notes, count) { +export function withNotesCount(notes: misskey.entities.Note[], count: number) { return notes.map( note => { return { ...note,