Skip to content

Commit 60345fc

Browse files
committed
Fixup transaction type tests
These tests are using a filter on the `name` field, which isn't defined in the schema. This is now considered a type error. I've added the `name` field to the schema as a string, which fixes the errors.
1 parent 85b7911 commit 60345fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/types/community/transaction.test-d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const client = new MongoClient('');
88
const session = client.startSession();
99

1010
interface Account {
11+
name: string;
1112
balance: number;
1213
}
1314

0 commit comments

Comments
 (0)