summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLivia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com>2022-07-12 03:43:57 +0800
committerGitHub <noreply@github.com>2022-07-11 21:43:57 +0200
commitb68115db3a7c87518c59e6db7fa0ca2f1e3b4ca7 (patch)
tree544aee942d660fc3a6f37992acdd7f14fdf2860d
parent88c36fd4140f65c2133c9b5836bc807a6c22b35a (diff)
fix(ext/crypto): Adjust typings for `Crypto.getRandomValues()` (#15130)
-rw-r--r--ext/crypto/lib.deno_crypto.d.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts
index 1b36acc70..f5d06156d 100644
--- a/ext/crypto/lib.deno_crypto.d.ts
+++ b/ext/crypto/lib.deno_crypto.d.ts
@@ -331,9 +331,7 @@ declare interface Crypto {
| Uint32Array
| Uint8ClampedArray
| BigInt64Array
- | BigUint64Array
- | DataView
- | null,
+ | BigUint64Array,
>(
array: T,
): T;