2024-01-01 14:58:21 -05:00
|
|
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2021-03-12 15:23:59 -05:00
|
|
|
|
|
|
|
// deno-lint-ignore-file no-explicit-any
|
|
|
|
|
|
|
|
/// <reference no-default-lib="true" />
|
|
|
|
/// <reference lib="esnext" />
|
|
|
|
|
2022-08-16 23:12:24 -04:00
|
|
|
/** @category Console and Debugging */
|
2021-03-12 15:23:59 -05:00
|
|
|
declare interface Console {
|
|
|
|
assert(condition?: boolean, ...data: any[]): void;
|
|
|
|
clear(): void;
|
|
|
|
count(label?: string): void;
|
|
|
|
countReset(label?: string): void;
|
|
|
|
debug(...data: any[]): void;
|
|
|
|
dir(item?: any, options?: any): void;
|
|
|
|
dirxml(...data: any[]): void;
|
|
|
|
error(...data: any[]): void;
|
|
|
|
group(...data: any[]): void;
|
|
|
|
groupCollapsed(...data: any[]): void;
|
|
|
|
groupEnd(): void;
|
|
|
|
info(...data: any[]): void;
|
|
|
|
log(...data: any[]): void;
|
|
|
|
table(tabularData?: any, properties?: string[]): void;
|
|
|
|
time(label?: string): void;
|
|
|
|
timeEnd(label?: string): void;
|
|
|
|
timeLog(label?: string, ...data: any[]): void;
|
|
|
|
trace(...data: any[]): void;
|
|
|
|
warn(...data: any[]): void;
|
2022-11-21 20:17:14 -05:00
|
|
|
|
|
|
|
/** This method is a noop, unless used in inspector */
|
|
|
|
timeStamp(label?: string): void;
|
|
|
|
|
|
|
|
/** This method is a noop, unless used in inspector */
|
|
|
|
profile(label?: string): void;
|
|
|
|
|
|
|
|
/** This method is a noop, unless used in inspector */
|
|
|
|
profileEnd(label?: string): void;
|
2021-03-12 15:23:59 -05:00
|
|
|
}
|