diff --git a/addons/Dexie.Observable/test/typings/tsconfig.json b/addons/Dexie.Observable/test/typings/tsconfig.json index 4451a35c7..0d07f7dbc 100644 --- a/addons/Dexie.Observable/test/typings/tsconfig.json +++ b/addons/Dexie.Observable/test/typings/tsconfig.json @@ -6,7 +6,7 @@ "strictNullChecks": true, "outDir": "../../tools/tmp/test-typings", "moduleResolution": "node", - "lib": ["dom", "es2018"] + "lib": ["dom", "es2020"] }, "files": [ "test-typings.ts" diff --git a/addons/dexie-cloud/src/tsconfig.json b/addons/dexie-cloud/src/tsconfig.json index e95ffe267..82e3c0fee 100644 --- a/addons/dexie-cloud/src/tsconfig.json +++ b/addons/dexie-cloud/src/tsconfig.json @@ -1,14 +1,14 @@ { "compilerOptions": { "module": "es2015", - "target": "es2018", + "target": "es2020", "declaration": true, "importHelpers": true, "strictNullChecks": true, "noImplicitAny": false, "noImplicitReturns": true, "moduleResolution": "node", - "lib": ["ES2018", "DOM"], + "lib": ["ES2020", "DOM"], "forceConsistentCasingInFileNames": true, "sourceMap": true, "rootDir": ".", diff --git a/addons/dexie-cloud/test/tsconfig.json b/addons/dexie-cloud/test/tsconfig.json index 78599387d..79f1222df 100644 --- a/addons/dexie-cloud/test/tsconfig.json +++ b/addons/dexie-cloud/test/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": false, "noImplicitReturns": true, "moduleResolution": "node", - "lib": ["ES2018", "DOM"], + "lib": ["ES2020", "DOM"], "forceConsistentCasingInFileNames": true, "sourceMap": true, "rootDir": "..", diff --git a/src/functions/cmp.ts b/src/functions/cmp.ts index 9b0ec2705..8da9a0d3b 100644 --- a/src/functions/cmp.ts +++ b/src/functions/cmp.ts @@ -78,7 +78,9 @@ type BinaryType = | Uint32Array | Int32Array | Float32Array - | Float64Array; + | Float64Array + | BigInt64Array + | BigUint64Array; function getUint8Array(a: BinaryType): Uint8Array { if (a instanceof Uint8Array) return a; diff --git a/src/tsconfig.json b/src/tsconfig.json index 72164748b..5ed50fa97 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": false, "noImplicitReturns": false, "moduleResolution": "node", - "lib": ["es2018", "dom"], + "lib": ["es2020", "dom"], "forceConsistentCasingInFileNames": true, "outDir": "../tools/tmp/src/", "sourceMap": true diff --git a/test/tsconfig.json b/test/tsconfig.json index c8aaacf38..170fece47 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitAny": false, "noImplicitReturns": false, "moduleResolution": "node", - "lib": ["es2018", "dom"], + "lib": ["es2020", "dom"], "forceConsistentCasingInFileNames": true, "outDir": "../tools/tmp/", "sourceMap": true, diff --git a/test/typings-test/tsconfig.json b/test/typings-test/tsconfig.json index fe4a1708b..211ff0ded 100644 --- a/test/typings-test/tsconfig.json +++ b/test/typings-test/tsconfig.json @@ -8,7 +8,7 @@ "noImplicitThis": true, "outDir": "../../tools/tmp/test-typings", "moduleResolution": "node", - "lib": ["dom", "es2015"] + "lib": ["dom", "es2020"] }, "files": [ "test-typings.ts"