@@ -3519,40 +3519,6 @@ interface ConcatParams extends Algorithm {
35193519 publicInfo?: Uint8Array;
35203520}
35213521
3522- /** 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. */
3523- interface Console {
3524- memory: any;
3525- assert(condition?: boolean, message?: string, ...data: any[]): void;
3526- clear(): void;
3527- count(label?: string): void;
3528- debug(message?: any, ...optionalParams: any[]): void;
3529- dir(value?: any, ...optionalParams: any[]): void;
3530- dirxml(value: any): void;
3531- error(message?: any, ...optionalParams: any[]): void;
3532- exception(message?: string, ...optionalParams: any[]): void;
3533- group(groupTitle?: string, ...optionalParams: any[]): void;
3534- groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void;
3535- groupEnd(): void;
3536- info(message?: any, ...optionalParams: any[]): void;
3537- log(message?: any, ...optionalParams: any[]): void;
3538- markTimeline(label?: string): void;
3539- profile(reportName?: string): void;
3540- profileEnd(reportName?: string): void;
3541- table(...tabularData: any[]): void;
3542- time(label?: string): void;
3543- timeEnd(label?: string): void;
3544- timeStamp(label?: string): void;
3545- timeline(label?: string): void;
3546- timelineEnd(label?: string): void;
3547- trace(message?: any, ...optionalParams: any[]): void;
3548- warn(message?: any, ...optionalParams: any[]): void;
3549- }
3550-
3551- declare var Console: {
3552- prototype: Console;
3553- new(): Console;
3554- };
3555-
35563522interface ConstantSourceNode extends AudioScheduledSourceNode {
35573523 readonly offset: AudioParam;
35583524 addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -18327,7 +18293,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
1832718293}
1832818294
1832918295/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */
18330- interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64, AnimationFrameProvider, WindowOrWorkerGlobalScope, WindowEventHandlers {
18296+ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, GlobalEventHandlers, IDBEnvironment, WindowBase64, AnimationFrameProvider, WindowOrWorkerGlobalScope, WindowEventHandlers {
1833118297 Blob: typeof Blob;
1833218298 TextDecoder: typeof TextDecoder;
1833318299 TextEncoder: typeof TextEncoder;
@@ -18471,10 +18437,6 @@ interface WindowBase64 {
1847118437 btoa(rawString: string): string;
1847218438}
1847318439
18474- interface WindowConsole {
18475- readonly console: Console;
18476- }
18477-
1847818440interface WindowEventHandlersEventMap {
1847918441 "afterprint": Event;
1848018442 "beforeprint": Event;
@@ -18878,6 +18840,28 @@ declare var webkitRTCPeerConnection: {
1887818840
1887918841declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
1888018842
18843+ declare namespace console {
18844+ function assert(condition?: boolean, ...data: any[]): void;
18845+ function clear(): void;
18846+ function count(label?: string): void;
18847+ function countReset(label?: string): void;
18848+ function debug(...data: any[]): void;
18849+ function dir(item: any, options?: any): void;
18850+ function dirxml(...data: any[]): void;
18851+ function error(...data: any[]): void;
18852+ function group(...data: any[]): void;
18853+ function groupCollapsed(...data: any[]): void;
18854+ function groupEnd(): void;
18855+ function info(...data: any[]): void;
18856+ function log(...data: any[]): void;
18857+ function table(tabularData: any, properties?: string[]): void;
18858+ function time(label?: string): void;
18859+ function timeEnd(label?: string): void;
18860+ function timeLog(label?: string, ...data: any[]): void;
18861+ function trace(...data: any[]): void;
18862+ function warn(...data: any[]): void;
18863+ }
18864+
1888118865declare namespace WebAssembly {
1888218866 interface CompileError {
1888318867 }
@@ -19455,7 +19439,6 @@ declare function toString(): string;
1945519439declare function dispatchEvent(event: Event): boolean;
1945619440declare var sessionStorage: Storage;
1945719441declare var localStorage: Storage;
19458- declare var console: Console;
1945919442/**
1946019443 * Fires when the user aborts the download.
1946119444 * @param ev The event.
0 commit comments