Skip to content

Commit d21625d

Browse files
committed
push
1 parent e4caece commit d21625d

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"types": "lib/index.d.ts",
1616
"scripts": {
1717
"build": "tsc -p tsconfig.build.json",
18+
"build:package": "tsc -p tsconfig.build.json --outDir lib",
1819
"check:types": "tsc",
1920
"test": "node --expose-gc ./node_modules/jest/bin/jest",
2021
"release": "npm run build:package && npm run test && release-it"
@@ -28,12 +29,12 @@
2829
"lib"
2930
],
3031
"devDependencies": {
31-
"@types/jest": "^29.4.0",
32+
"@types/jest": "^29.5.14",
3233
"jest": "^29.4.3",
34+
"release-it": "^15.6.0",
3335
"ts-jest": "^29.0.5",
3436
"ts-node": "^10.9.1",
35-
"typescript": "^4.8.4",
36-
"release-it": "^15.6.0"
37+
"typescript": "^4.8.4"
3738
},
3839
"author": "Daniel Lemire <lemire@gmail.com> (http://lemire.me/en/)"
3940
}

src/SparseTypedFastBitSet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ export class SparseTypedFastBitSet implements BitSet {
605605
clone(): SparseTypedFastBitSet {
606606
const bitset = new SparseTypedFastBitSet(
607607
undefined,
608-
new Uint32Array(this.data)
608+
new Uint32Array(this.data) // Correction : pas d'annotation générique
609609
);
610610
bitset.arraySize = this.arraySize;
611611
return bitset;

src/testUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
declare const expect: any;
12
import { SparseTypedFastBitSet } from "./SparseTypedFastBitSet";
23
import { TypedFastBitSet } from "./TypedFastBitSet";
34
import { BitSet } from "./utils";

0 commit comments

Comments
 (0)