@@ -130,7 +130,7 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
130
130
numberOfOutputs?: number;
131
131
outputChannelCount?: number[];
132
132
parameterData?: Record<string, number>;
133
- processorOptions?: any ;
133
+ processorOptions?: object | null ;
134
134
}
135
135
136
136
interface AuthenticationExtensionsClientInputs {
@@ -948,7 +948,7 @@ interface PaymentDetailsInit extends PaymentDetailsBase {
948
948
949
949
interface PaymentDetailsModifier {
950
950
additionalDisplayItems?: PaymentItem[];
951
- data?: any ;
951
+ data?: object ;
952
952
supportedMethods: string | string[];
953
953
total?: PaymentItem;
954
954
}
@@ -965,7 +965,7 @@ interface PaymentItem {
965
965
}
966
966
967
967
interface PaymentMethodData {
968
- data?: any ;
968
+ data?: object ;
969
969
supportedMethods: string | string[];
970
970
}
971
971
@@ -1043,7 +1043,7 @@ interface PositionOptions {
1043
1043
}
1044
1044
1045
1045
interface PostMessageOptions {
1046
- transfer?: any [];
1046
+ transfer?: object [];
1047
1047
}
1048
1048
1049
1049
interface ProgressEventInit extends EventInit {
@@ -2465,14 +2465,14 @@ interface BhxBrowser {
2465
2465
clearLastError(): void;
2466
2466
currentWindowId(): number;
2467
2467
fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void;
2468
- genericFunction(functionId: number, destination: any , parameters?: string, callbackId?: number): void;
2468
+ genericFunction(functionId: number, destination: object , parameters?: string, callbackId?: number): void;
2469
2469
genericSynchronousFunction(functionId: number, parameters?: string): string;
2470
2470
getExtensionId(): string;
2471
- getThisAddress(): any ;
2471
+ getThisAddress(): object ;
2472
2472
registerGenericFunctionCallbackHandler(callbackHandler: Function): void;
2473
2473
registerGenericListenerHandler(eventHandler: Function): void;
2474
2474
setLastError(parameters: string): void;
2475
- webPlatformGenericFunction(destination: any , parameters?: string, callbackId?: number): void;
2475
+ webPlatformGenericFunction(destination: object , parameters?: string, callbackId?: number): void;
2476
2476
}
2477
2477
2478
2478
declare var BhxBrowser: {
@@ -3636,7 +3636,7 @@ interface ConcatParams extends Algorithm {
3636
3636
3637
3637
/** Provides access to the browser's debugging console (e.g. the Web Console in Firefox). The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided. */
3638
3638
interface Console {
3639
- memory: any ;
3639
+ memory: object ;
3640
3640
assert(condition?: boolean, message?: string, ...data: any[]): void;
3641
3641
clear(): void;
3642
3642
count(label?: string): void;
@@ -3978,7 +3978,7 @@ interface DOMMatrixReadOnly {
3978
3978
skewY(sy?: number): DOMMatrix;
3979
3979
toFloat32Array(): Float32Array;
3980
3980
toFloat64Array(): Float64Array;
3981
- toJSON(): any ;
3981
+ toJSON(): object ;
3982
3982
transformPoint(point?: DOMPointInit): DOMPoint;
3983
3983
translate(tx?: number, ty?: number, tz?: number): DOMMatrix;
3984
3984
}
@@ -4023,7 +4023,7 @@ interface DOMPointReadOnly {
4023
4023
readonly y: number;
4024
4024
readonly z: number;
4025
4025
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
4026
- toJSON(): any ;
4026
+ toJSON(): object ;
4027
4027
}
4028
4028
4029
4029
declare var DOMPointReadOnly: {
@@ -4038,7 +4038,7 @@ interface DOMQuad {
4038
4038
readonly p3: DOMPoint;
4039
4039
readonly p4: DOMPoint;
4040
4040
getBounds(): DOMRect;
4041
- toJSON(): any ;
4041
+ toJSON(): object ;
4042
4042
}
4043
4043
4044
4044
declare var DOMQuad: {
@@ -4084,7 +4084,7 @@ interface DOMRectReadOnly {
4084
4084
readonly width: number;
4085
4085
readonly x: number;
4086
4086
readonly y: number;
4087
- toJSON(): any ;
4087
+ toJSON(): object ;
4088
4088
}
4089
4089
4090
4090
declare var DOMRectReadOnly: {
@@ -5483,13 +5483,13 @@ declare var EventTarget: {
5483
5483
interface ExtensionScriptApis {
5484
5484
extensionIdToShortId(extensionId: string): number;
5485
5485
fireExtensionApiTelemetry(functionName: string, isSucceeded: boolean, isSupported: boolean, errorString: string): void;
5486
- genericFunction(routerAddress: any , parameters?: string, callbackId?: number): void;
5486
+ genericFunction(routerAddress: object , parameters?: string, callbackId?: number): void;
5487
5487
genericSynchronousFunction(functionId: number, parameters?: string): string;
5488
- genericWebRuntimeCallout(to: any , from: any , payload: string): void;
5488
+ genericWebRuntimeCallout(to: object , from: object , payload: string): void;
5489
5489
getExtensionId(): string;
5490
5490
registerGenericFunctionCallbackHandler(callbackHandler: Function): void;
5491
5491
registerGenericPersistentCallbackHandler(callbackHandler: Function): void;
5492
- registerWebRuntimeCallbackHandler(handler: Function): any ;
5492
+ registerWebRuntimeCallbackHandler(handler: Function): object ;
5493
5493
}
5494
5494
5495
5495
declare var ExtensionScriptApis: {
@@ -10185,7 +10185,7 @@ interface MediaDeviceInfo {
10185
10185
readonly groupId: string;
10186
10186
readonly kind: MediaDeviceKind;
10187
10187
readonly label: string;
10188
- toJSON(): any ;
10188
+ toJSON(): object ;
10189
10189
}
10190
10190
10191
10191
declare var MediaDeviceInfo: {
@@ -11559,7 +11559,7 @@ declare var PaymentRequestUpdateEvent: {
11559
11559
11560
11560
/** This Payment Request API interface is returned after a user selects a payment method and approves a payment request. */
11561
11561
interface PaymentResponse {
11562
- readonly details: any ;
11562
+ readonly details: object ;
11563
11563
readonly methodName: string;
11564
11564
readonly payerEmail: string | null;
11565
11565
readonly payerName: string | null;
@@ -11627,7 +11627,7 @@ interface Performance extends EventTarget {
11627
11627
measure(measureName: string, startMark?: string, endMark?: string): void;
11628
11628
now(): number;
11629
11629
setResourceTimingBufferSize(maxSize: number): void;
11630
- toJSON(): any ;
11630
+ toJSON(): object ;
11631
11631
addEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11632
11632
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11633
11633
removeEventListener<K extends keyof PerformanceEventMap>(type: K, listener: (this: Performance, ev: PerformanceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -11645,7 +11645,7 @@ interface PerformanceEntry {
11645
11645
readonly entryType: string;
11646
11646
readonly name: string;
11647
11647
readonly startTime: number;
11648
- toJSON(): any ;
11648
+ toJSON(): object ;
11649
11649
}
11650
11650
11651
11651
declare var PerformanceEntry: {
@@ -11675,7 +11675,7 @@ declare var PerformanceMeasure: {
11675
11675
interface PerformanceNavigation {
11676
11676
readonly redirectCount: number;
11677
11677
readonly type: number;
11678
- toJSON(): any ;
11678
+ toJSON(): object ;
11679
11679
readonly TYPE_BACK_FORWARD: number;
11680
11680
readonly TYPE_NAVIGATE: number;
11681
11681
readonly TYPE_RELOAD: number;
@@ -11703,7 +11703,7 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming {
11703
11703
readonly type: NavigationType;
11704
11704
readonly unloadEventEnd: number;
11705
11705
readonly unloadEventStart: number;
11706
- toJSON(): any ;
11706
+ toJSON(): object ;
11707
11707
}
11708
11708
11709
11709
declare var PerformanceNavigationTiming: {
@@ -11753,7 +11753,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
11753
11753
readonly secureConnectionStart: number;
11754
11754
readonly transferSize: number;
11755
11755
readonly workerStart: number;
11756
- toJSON(): any ;
11756
+ toJSON(): object ;
11757
11757
}
11758
11758
11759
11759
declare var PerformanceResourceTiming: {
@@ -11784,7 +11784,7 @@ interface PerformanceTiming {
11784
11784
readonly secureConnectionStart: number;
11785
11785
readonly unloadEventEnd: number;
11786
11786
readonly unloadEventStart: number;
11787
- toJSON(): any ;
11787
+ toJSON(): object ;
11788
11788
}
11789
11789
11790
11790
declare var PerformanceTiming: {
@@ -12476,7 +12476,7 @@ declare var RTCSctpTransport: {
12476
12476
interface RTCSessionDescription {
12477
12477
readonly sdp: string;
12478
12478
readonly type: RTCSdpType;
12479
- toJSON(): any ;
12479
+ toJSON(): object ;
12480
12480
}
12481
12481
12482
12482
declare var RTCSessionDescription: {
@@ -12532,7 +12532,7 @@ declare var RTCStatsProvider: {
12532
12532
};
12533
12533
12534
12534
interface RTCStatsReport {
12535
- forEach(callbackfn: (value: any , key: string, parent: RTCStatsReport) => void, thisArg?: any): void;
12535
+ forEach(callbackfn: (value: object , key: string, parent: RTCStatsReport) => void, thisArg?: any): void;
12536
12536
}
12537
12537
12538
12538
declare var RTCStatsReport: {
@@ -19043,12 +19043,12 @@ declare namespace WebAssembly {
19043
19043
};
19044
19044
19045
19045
interface Instance {
19046
- readonly exports: any ;
19046
+ readonly exports: object ;
19047
19047
}
19048
19048
19049
19049
var Instance: {
19050
19050
prototype: Instance;
19051
- new(module: Module, importObject?: any ): Instance;
19051
+ new(module: Module, importObject?: object ): Instance;
19052
19052
};
19053
19053
19054
19054
interface LinkError {
@@ -19135,8 +19135,8 @@ declare namespace WebAssembly {
19135
19135
type ImportExportKind = "function" | "table" | "memory" | "global";
19136
19136
type TableKind = "anyfunc";
19137
19137
function compile(bytes: BufferSource): Promise<Module>;
19138
- function instantiate(bytes: BufferSource, importObject?: any ): Promise<WebAssemblyInstantiatedSource>;
19139
- function instantiate(moduleObject: Module, importObject?: any ): Promise<Instance>;
19138
+ function instantiate(bytes: BufferSource, importObject?: object ): Promise<WebAssemblyInstantiatedSource>;
19139
+ function instantiate(moduleObject: Module, importObject?: object ): Promise<Instance>;
19140
19140
function validate(bytes: BufferSource): boolean;
19141
19141
}
19142
19142
0 commit comments