Skip to content

Commit 39419a6

Browse files
committed
Update queries.test.ts
Fixed test for #15780
1 parent 20f9b1a commit 39419a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/types/queries.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,5 +863,5 @@ async function gh15786() {
863863
}
864864

865865
const schema = new Schema<IDoc, Model<IDoc>, {}, {}, {}, DocStatics>({});
866-
schema.static({ m1() {} } as DocStatics);
866+
schema.static({ m1() {} });
867867
}

0 commit comments

Comments
 (0)