@@ -3723,40 +3723,6 @@ interface ConcatParams extends Algorithm {
3723
3723
publicInfo?: Uint8Array;
3724
3724
}
3725
3725
3726
- /** 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. */
3727
- interface Console {
3728
- memory: any;
3729
- assert(condition?: boolean, message?: string, ...data: any[]): void;
3730
- clear(): void;
3731
- count(label?: string): void;
3732
- debug(message?: any, ...optionalParams: any[]): void;
3733
- dir(value?: any, ...optionalParams: any[]): void;
3734
- dirxml(value: any): void;
3735
- error(message?: any, ...optionalParams: any[]): void;
3736
- exception(message?: string, ...optionalParams: any[]): void;
3737
- group(groupTitle?: string, ...optionalParams: any[]): void;
3738
- groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void;
3739
- groupEnd(): void;
3740
- info(message?: any, ...optionalParams: any[]): void;
3741
- log(message?: any, ...optionalParams: any[]): void;
3742
- markTimeline(label?: string): void;
3743
- profile(reportName?: string): void;
3744
- profileEnd(reportName?: string): void;
3745
- table(...tabularData: any[]): void;
3746
- time(label?: string): void;
3747
- timeEnd(label?: string): void;
3748
- timeStamp(label?: string): void;
3749
- timeline(label?: string): void;
3750
- timelineEnd(label?: string): void;
3751
- trace(message?: any, ...optionalParams: any[]): void;
3752
- warn(message?: any, ...optionalParams: any[]): void;
3753
- }
3754
-
3755
- declare var Console: {
3756
- prototype: Console;
3757
- new(): Console;
3758
- };
3759
-
3760
3726
interface ConstantSourceNode extends AudioScheduledSourceNode {
3761
3727
readonly offset: AudioParam;
3762
3728
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -18590,7 +18556,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
18590
18556
}
18591
18557
18592
18558
/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */
18593
- interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowConsole, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {
18559
+ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {
18594
18560
readonly applicationCache: ApplicationCache;
18595
18561
readonly clientInformation: Navigator;
18596
18562
readonly closed: boolean;
@@ -18721,10 +18687,6 @@ declare var Window: {
18721
18687
new(): Window;
18722
18688
};
18723
18689
18724
- interface WindowConsole {
18725
- readonly console: Console;
18726
- }
18727
-
18728
18690
interface WindowEventHandlersEventMap {
18729
18691
"afterprint": Event;
18730
18692
"beforeprint": Event;
@@ -19125,6 +19087,31 @@ declare var webkitRTCPeerConnection: {
19125
19087
19126
19088
declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
19127
19089
19090
+ declare namespace console {
19091
+ var memory: any;
19092
+ function assert(condition?: boolean, ...data: any[]): void;
19093
+ function clear(): void;
19094
+ function count(label?: string): void;
19095
+ function countReset(label?: string): void;
19096
+ function debug(...data: any[]): void;
19097
+ function dir(item?: any, options?: any): void;
19098
+ function dirxml(...data: any[]): void;
19099
+ function error(...data: any[]): void;
19100
+ function exception(message?: string, ...optionalParams: any[]): void;
19101
+ function group(...data: any[]): void;
19102
+ function groupCollapsed(...data: any[]): void;
19103
+ function groupEnd(): void;
19104
+ function info(...data: any[]): void;
19105
+ function log(...data: any[]): void;
19106
+ function table(tabularData?: any, properties?: string[]): void;
19107
+ function time(label?: string): void;
19108
+ function timeEnd(label?: string): void;
19109
+ function timeLog(label?: string, ...data: any[]): void;
19110
+ function timeStamp(label?: string): void;
19111
+ function trace(...data: any[]): void;
19112
+ function warn(...data: any[]): void;
19113
+ }
19114
+
19128
19115
declare namespace WebAssembly {
19129
19116
interface CompileError {
19130
19117
}
@@ -19706,7 +19693,6 @@ declare function toString(): string;
19706
19693
declare function dispatchEvent(event: Event): boolean;
19707
19694
declare var sessionStorage: Storage;
19708
19695
declare var localStorage: Storage;
19709
- declare var console: Console;
19710
19696
/**
19711
19697
* Fires when the user aborts the download.
19712
19698
* @param ev The event.
0 commit comments