diff --git a/index.d.ts b/index.d.ts index a347040..2efc11f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,11 +1,9 @@ -import * as core from "webcrypto-core"; - -export declare class Crypto implements core.NativeCrypto { +export declare class Crypto implements globalThis.Crypto { public subtle: SubtleCrypto; - public getRandomValues(array: T): T; + public getRandomValues(array: T): T; } -export declare class CryptoKey implements core.NativeCryptoKey { +export declare class CryptoKey implements globalThis.CryptoKey { public algorithm: KeyAlgorithm; public extractable: boolean; public type: KeyType;