From b68115db3a7c87518c59e6db7fa0ca2f1e3b4ca7 Mon Sep 17 00:00:00 2001 From: Livia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com> Date: Tue, 12 Jul 2022 03:43:57 +0800 Subject: [PATCH] fix(ext/crypto): Adjust typings for `Crypto.getRandomValues()` (#15130) --- ext/crypto/lib.deno_crypto.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index 1b36acc70f..f5d06156d3 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;