Skip to content

Commit

Permalink
chore: add types for nanobench (#38)
Browse files Browse the repository at this point in the history
Types for nanobench were [recently added to DefinitelyTyped][0], so we
can use them.

The `benchmarks` directory is not currently type-checked, so this change
primarily impacts editor tools.

Similar to [another change in mapeo-core-next][1].

[0]: DefinitelyTyped/DefinitelyTyped#68221
[1]: digidem/comapeo-core#441
  • Loading branch information
EvanHahn committed Jan 25, 2024
1 parent b85c3b6 commit 71f3f49
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
},
"devDependencies": {
"@digidem/types": "^1.0.1",
"@types/nanobench": "^3.0.0",
"@types/sodium-native": "^2.3.5",
"@types/tap": "^15.0.8",
"brittle": "^3.3.2",
Expand Down
8 changes: 0 additions & 8 deletions vendor/types/nanobench.d.ts

This file was deleted.

0 comments on commit 71f3f49

Please sign in to comment.