Commit c49f8bc
committed
And add lint TS rule to enforce declaring `Uint8Array<ArrayBuffer>`.
This change is to limit the need to downcast Uint8Array in output
when using them with e.g. WebCrypto and Blobs,
following an incompatible interface change between ArrayBuffer
and ArrayBufferLike (enforced in TS v5.9).
1 parent fd575a3 commit c49f8bc
6 files changed
Lines changed: 183 additions & 1124 deletions
File tree
- src/crypto
- test/typescript
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
Large diffs are not rendered by default.
0 commit comments