fix: Type error
This commit is contained in:
parent
5acb3e25ab
commit
cbd5a35bf6
|
@ -1,11 +1,9 @@
|
||||||
import * as core from "webcrypto-core";
|
export declare class Crypto implements globalThis.Crypto {
|
||||||
|
|
||||||
export declare class Crypto implements core.NativeCrypto {
|
|
||||||
public subtle: SubtleCrypto;
|
public subtle: SubtleCrypto;
|
||||||
public getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;
|
public getRandomValues<T extends ArrayBufferView | null>(array: T): T;
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare class CryptoKey implements core.NativeCryptoKey {
|
export declare class CryptoKey implements globalThis.CryptoKey {
|
||||||
public algorithm: KeyAlgorithm;
|
public algorithm: KeyAlgorithm;
|
||||||
public extractable: boolean;
|
public extractable: boolean;
|
||||||
public type: KeyType;
|
public type: KeyType;
|
||||||
|
|
Reference in New Issue