Skip to content

Commit ea9322a

Browse files
committed
replace use of Record<> with object type literal to stop ts complaining about the circular reference
1 parent 7aac667 commit ea9322a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ type Nullsec = Lowsec & PlayerNullsec & {
699699
// database
700700
type MongoPrimitive = null | boolean | number | Date | string
701701
type MongoValue = MongoPrimitive | MongoValue[] | MongoObject
702-
type MongoObject = Record<string, MongoValue>
702+
type MongoObject = { [k: string]: MongoValue }
703703
type MongoQueryValue = MongoPrimitive | MongoQueryValue[] | MongoQueryObject
704704

705705
type MongoQueryObject =

0 commit comments

Comments
 (0)