Skip to content

Commit

Permalink
fix: type declaration for Crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Mar 24, 2023
1 parent 3e22e86 commit 335c2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export declare class Crypto implements globalThis.Crypto {
public subtle: SubtleCrypto;
public getRandomValues<T extends ArrayBufferView | null>(array: T): T;
public randomUUID(): string;
randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
}

export declare class CryptoKey implements globalThis.CryptoKey {
Expand Down

0 comments on commit 335c2cb

Please sign in to comment.