make rankings nullable too

This commit is contained in:
zkldi
2021-12-30 17:33:45 +00:00
parent 13b04173e5
commit 2819baab28
+1 -1
View File
@@ -1401,7 +1401,7 @@ export interface UGPTSettings<I extends IDStrings = IDStrings> extends MongoDBDo
export interface UserGameStatsSnapshot<I extends IDStrings = IDStrings>
extends MongoDBDocument,
UserGameStats<I> {
rankings: Record<UGSRatingsLookup[I], { ranking: integer; outOf: integer }>;
rankings: Record<UGSRatingsLookup[I], { ranking: integer | null; outOf: integer }>;
playcount: integer;
timestamp: integer;
}