@@ -761,7 +761,7 @@ interface ProgressEventInit extends EventInit {
761
761
}
762
762
763
763
interface PushSubscriptionOptionsInit {
764
- applicationServerKey?: any ;
764
+ applicationServerKey?: BufferSource | null ;
765
765
userVisibleOnly?: boolean;
766
766
}
767
767
@@ -771,7 +771,7 @@ interface RegistrationOptions {
771
771
772
772
interface RequestInit {
773
773
signal?: AbortSignal;
774
- body?: any ;
774
+ body?: Blob | BufferSource | FormData | string | null ;
775
775
cache?: RequestCache;
776
776
credentials?: RequestCredentials;
777
777
headers?: HeadersInit;
@@ -1089,7 +1089,7 @@ interface RTCTransportStats extends RTCStats {
1089
1089
}
1090
1090
1091
1091
interface ScopedCredentialDescriptor {
1092
- id: any ;
1092
+ id: BufferSource ;
1093
1093
transports?: Transport[];
1094
1094
type: ScopedCredentialType;
1095
1095
}
@@ -7544,7 +7544,7 @@ declare var MediaKeyMessageEvent: {
7544
7544
7545
7545
interface MediaKeys {
7546
7546
createSession(sessionType?: MediaKeySessionType): MediaKeySession;
7547
- setServerCertificate(serverCertificate: any ): Promise<void>;
7547
+ setServerCertificate(serverCertificate: BufferSource ): Promise<void>;
7548
7548
}
7549
7549
7550
7550
declare var MediaKeys: {
@@ -7558,10 +7558,10 @@ interface MediaKeySession extends EventTarget {
7558
7558
readonly keyStatuses: MediaKeyStatusMap;
7559
7559
readonly sessionId: string;
7560
7560
close(): Promise<void>;
7561
- generateRequest(initDataType: string, initData: any ): Promise<void>;
7561
+ generateRequest(initDataType: string, initData: BufferSource ): Promise<void>;
7562
7562
load(sessionId: string): Promise<boolean>;
7563
7563
remove(): Promise<void>;
7564
- update(response: any ): Promise<void>;
7564
+ update(response: BufferSource ): Promise<void>;
7565
7565
}
7566
7566
7567
7567
declare var MediaKeySession: {
@@ -7572,8 +7572,8 @@ declare var MediaKeySession: {
7572
7572
interface MediaKeyStatusMap {
7573
7573
readonly size: number;
7574
7574
forEach(callback: ForEachCallback): void;
7575
- get(keyId: any ): MediaKeyStatus;
7576
- has(keyId: any ): boolean;
7575
+ get(keyId: BufferSource ): MediaKeyStatus;
7576
+ has(keyId: BufferSource ): boolean;
7577
7577
}
7578
7578
7579
7579
declare var MediaKeyStatusMap: {
@@ -12312,8 +12312,8 @@ declare var WaveShaperNode: {
12312
12312
};
12313
12313
12314
12314
interface WebAuthentication {
12315
- getAssertion(assertionChallenge: any , options?: AssertionOptions): Promise<WebAuthnAssertion>;
12316
- makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: any , options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
12315
+ getAssertion(assertionChallenge: BufferSource , options?: AssertionOptions): Promise<WebAuthnAssertion>;
12316
+ makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: BufferSource , options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
12317
12317
}
12318
12318
12319
12319
declare var WebAuthentication: {
@@ -14853,7 +14853,7 @@ interface ErrorEventHandler {
14853
14853
(message: string, filename?: string, lineno?: number, colno?: number, error?: Error): void;
14854
14854
}
14855
14855
interface ForEachCallback {
14856
- (keyId: any , status: MediaKeyStatus): void;
14856
+ (keyId: BufferSource , status: MediaKeyStatus): void;
14857
14857
}
14858
14858
interface FrameRequestCallback {
14859
14859
(time: number): void;
@@ -15309,7 +15309,7 @@ declare function removeEventListener<K extends keyof WindowEventMap>(type: K, li
15309
15309
declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
15310
15310
type AAGUID = string;
15311
15311
type AlgorithmIdentifier = string | Algorithm;
15312
- type BodyInit = any ;
15312
+ type BodyInit = Blob | BufferSource | FormData | string ;
15313
15313
type ByteString = string;
15314
15314
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
15315
15315
type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
0 commit comments