mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
do not export isConsoleInstance
(#2850)
This commit is contained in:
parent
91ba3410a3
commit
e9908453df
2 changed files with 2 additions and 3 deletions
|
@ -486,7 +486,7 @@ type PrintFunc = (x: string, isErr?: boolean) => void;
|
||||||
|
|
||||||
const countMap = new Map<string, number>();
|
const countMap = new Map<string, number>();
|
||||||
const timerMap = new Map<string, number>();
|
const timerMap = new Map<string, number>();
|
||||||
export const isConsoleInstance = Symbol("isConsoleInstance");
|
const isConsoleInstance = Symbol("isConsoleInstance");
|
||||||
|
|
||||||
export class Console {
|
export class Console {
|
||||||
indentLevel: number;
|
indentLevel: number;
|
||||||
|
|
3
js/lib.deno_runtime.d.ts
vendored
3
js/lib.deno_runtime.d.ts
vendored
|
@ -1176,7 +1176,6 @@ declare namespace Deno {
|
||||||
colors: boolean;
|
colors: boolean;
|
||||||
indentLevel: number;
|
indentLevel: number;
|
||||||
}>;
|
}>;
|
||||||
export const isConsoleInstance: unique symbol;
|
|
||||||
/** A symbol which can be used as a key for a custom method which will be called
|
/** A symbol which can be used as a key for a custom method which will be called
|
||||||
* when `Deno.inspect()` is called, or when the object is logged to the console.
|
* when `Deno.inspect()` is called, or when the object is logged to the console.
|
||||||
*/
|
*/
|
||||||
|
@ -1957,7 +1956,7 @@ declare namespace consoleTypes {
|
||||||
static kClear: string;
|
static kClear: string;
|
||||||
static kClearScreenDown: string;
|
static kClearScreenDown: string;
|
||||||
}
|
}
|
||||||
export const isConsoleInstance: unique symbol;
|
const isConsoleInstance: unique symbol;
|
||||||
export class Console {
|
export class Console {
|
||||||
private printFunc;
|
private printFunc;
|
||||||
indentLevel: number;
|
indentLevel: number;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue