Skip to content

Commit 390642e

Browse files
nbbeekendurran
authored andcommitted
test: fix tsd test
1 parent 4d012f2 commit 390642e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/types/bson.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ expectType<(radix?: number) => string>(Int32.prototype.toString);
3030
expectType<() => Decimal128Extended>(Decimal128.prototype.toJSON);
3131
expectType<
3232
() => {
33-
code: string | Function;
33+
code: string;
3434
scope?: Document;
3535
}
3636
>(Code.prototype.toJSON);

0 commit comments

Comments
 (0)