Skip to content

Commit 82aa8bf

Browse files
committed
and with the actual crash
1 parent 967c479 commit 82aa8bf

File tree

1 file changed

+2
-3
lines changed
  • packages/mql-typescript/tests

1 file changed

+2
-3
lines changed

packages/mql-typescript/tests/real.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,10 @@ class Collection<
5151
return this._name;
5252
}
5353
async find(
54-
query?: schema.Query<Document>,
54+
query?: schema.Query<C['schema']>,
5555
projection?: Document,
5656
options: Document = {},
57-
): Promise<schema.Query<Document> | undefined> {
58-
//): Promise<Document | undefined> {
57+
): Promise<schema.Query<C['schema']> | undefined> {
5958
return Promise.resolve(query);
6059
}
6160
}

0 commit comments

Comments
 (0)