Commit a62221f
authored
BLEnder fix(@types/node): drop bogus BinaryLike cast in emailHashPrefix
emailHashPrefix cast its already-string argument to crypto's BinaryLike
before passing it to getSha1, which takes a string. In @types/node 26 that
union (string | NodeJS.ArrayBufferView) is no longer accepted where a string
is required, breaking tsc for npm-lint, npm-build and the Docker image build.
Removed the unnecessary cast and the now-unused BinaryLike import. No
behaviour change.1 parent a692a62 commit a62221f
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
0 commit comments