From cb1e9037921d8dc537f3f73bc237fd570a67829a Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 9 Sep 2025 11:37:40 -0400 Subject: [PATCH] fix(dts): align crypto.getRandomValues in lib.deno_crypto.d.ts with lib.dom.d.ts and lib.webworker.d.ts (#30647) --- cli/tsc/dts/lib.deno_crypto.d.ts | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/cli/tsc/dts/lib.deno_crypto.d.ts b/cli/tsc/dts/lib.deno_crypto.d.ts index 0e929410a9..4c98cbec9f 100644 --- a/cli/tsc/dts/lib.deno_crypto.d.ts +++ b/cli/tsc/dts/lib.deno_crypto.d.ts @@ -651,20 +651,7 @@ interface Crypto { * * @see https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues */ - getRandomValues< - T extends - | Int8Array - | Int16Array - | Int32Array - | Uint8Array - | Uint16Array - | Uint32Array - | Uint8ClampedArray - | BigInt64Array - | BigUint64Array, - >( - array: T, - ): T; + getRandomValues(array: T): T; /** * Generates a random RFC 4122 version 4 UUID using a cryptographically