Skip to content

Commit cbcfac2

Browse files
committed
fix: option is optional
1 parent 7c1e83e commit cbcfac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type MongoCryptConstructorOptions = {
6868
cryptSharedLibPath?: string;
6969
bypassQueryAnalysis?: boolean;
7070
/** Configure the time to expire the DEK from the cache. */
71-
keyExpirationMS: number;
71+
keyExpirationMS?: number;
7272
/** TODO(NODE-6793): remove this option and have it always set in the next major */
7373
enableMultipleCollinfo?: boolean;
7474
};

0 commit comments

Comments
 (0)