From 0f45383190e1b18de7200fe0dab330555acbafae Mon Sep 17 00:00:00 2001 From: Rodry <38259440+ImRodry@users.noreply.github.com> Date: Wed, 17 Nov 2021 22:25:09 +0000 Subject: [PATCH] types(NODE-3563): make types stricter --- src/mongo_types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongo_types.ts b/src/mongo_types.ts index 60564a87cf5..d133061c863 100644 --- a/src/mongo_types.ts +++ b/src/mongo_types.ts @@ -256,7 +256,7 @@ export type OnlyFieldsOfType; /** @public */ -export type MatchKeysAndValues = Readonly> & Record; +export type MatchKeysAndValues = Readonly> & Record<`${string}.${string}`, any>; /** @public */ export type AddToSetOperators = {