We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MongoQueryObject
$type
1 parent 412ee2f commit 93e7befCopy full SHA for 93e7bef
env.d.ts
@@ -703,7 +703,7 @@ type MongoObject = { [k: string]: MongoValue, [k: `$${string}`]: never }
703
type MongoQueryValue = MongoPrimitive | MongoQueryValue[] | MongoQueryObject
704
705
type MongoQueryObject =
706
- { [k: string]: MongoQueryValue, [k: `$${string}`]: MongoValue, $type?: keyof MongoTypeStringsToTypes | (string & {}) }
+ { [k: string]: MongoQueryValue, [k: `$${string}`]: MongoValue } & { $type?: keyof MongoTypeStringsToTypes | (string & {}) }
707
708
type MongoTypeStringsToTypes = {
709
double: number
0 commit comments