1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

fix(ext/crypto): align the return type of crypto.randomUUID to cli/tsc/dts/lib.dom.d.ts (#22465)

This commit is contained in:
Nano Miratus 2024-02-29 05:50:27 +01:00 committed by GitHub
parent 3a43568481
commit 1dad7bec17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -390,7 +390,7 @@ declare interface Crypto {
>(
array: T,
): T;
randomUUID(): string;
randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
}
/** @category Web Crypto API */