fix types in test/utils.ts
This commit is contained in:
parent
00f3a1b479
commit
1b27fb1a65
1 changed files with 1 additions and 1 deletions
|
|
@ -696,7 +696,7 @@ export async function captureWebhook<T = SystemWebhookPayload>(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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue