Skip to content

Commit a8c8e58

Browse files
types and lint
1 parent 62ecd77 commit a8c8e58

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/client-side-encryption/client_encryption.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,9 +973,9 @@ export interface RangeOptions {
973973
/** max is the minimum value for the encrypted index. Required if precision is set. */
974974
max?: any;
975975
/** sparsity may be used to tune performance. must be non-negative. When omitted, a default value is used. */
976-
sparsity?: Long | bigint | number;
976+
sparsity?: Long | bigint;
977977
/** trimFactor may be used to tune performance. must be non-negative. When omitted, a default value is used. */
978-
trimFactor?: Int32 | bigint | number;
978+
trimFactor?: Int32 | number;
979979
/* precision determines the number of significant digits after the decimal point. May only be set for double or decimal128. */
980980
precision?: number;
981981
}

test/integration/client-side-encryption/client_side_encryption.prose.23.range_encryption_defaults.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { type Binary, EJSON, Int32, Long } from '../../mongodb';
21
import { expect } from 'chai';
32

43
/* eslint-disable @typescript-eslint/no-restricted-imports */
54
import { ClientEncryption } from '../../../src/client-side-encryption/client_encryption';
5+
import { type Binary, EJSON, Int32, Long } from '../../mongodb';
66
import { installNodeDNSWorkaroundHooks } from '../../tools/runner/hooks/configuration';
77

88
const metaData: MongoDBMetadataUI = {

0 commit comments

Comments
 (0)