diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-03-12 21:23:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 21:23:59 +0100 |
commit | 0770449c938cdd0edbadaf1e87e460b21fc1b4ef (patch) | |
tree | 649807f55ed9e03f1d1cd5291295e8d4ff5345da /op_crates/console/lib.deno_console.d.ts | |
parent | e83ff62ccbe33ad9c19cb9cab9154b6767d6d74b (diff) |
refactor: move Console to op_crates/console (#9770)
Diffstat (limited to 'op_crates/console/lib.deno_console.d.ts')
-rw-r--r-- | op_crates/console/lib.deno_console.d.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/op_crates/console/lib.deno_console.d.ts b/op_crates/console/lib.deno_console.d.ts new file mode 100644 index 000000000..d6cb1e99b --- /dev/null +++ b/op_crates/console/lib.deno_console.d.ts @@ -0,0 +1,29 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. + +// deno-lint-ignore-file no-explicit-any + +/// <reference no-default-lib="true" /> +/// <reference lib="esnext" /> + +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; + timeStamp(label?: string): void; + trace(...data: any[]): void; + warn(...data: any[]): void; +} |