do not export isConsoleInstance (#2850)

This commit is contained in:
迷渡 2019-09-03 15:10:51 +08:00 committed by Ryan Dahl
parent 91ba3410a3
commit e9908453df
2 changed files with 2 additions and 3 deletions

View file

@ -1176,7 +1176,6 @@ declare namespace Deno {
colors: boolean;
indentLevel: number;
}>;
export const isConsoleInstance: unique symbol;
/** 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.
*/
@ -1957,7 +1956,7 @@ declare namespace consoleTypes {
static kClear: string;
static kClearScreenDown: string;
}
export const isConsoleInstance: unique symbol;
const isConsoleInstance: unique symbol;
export class Console {
private printFunc;
indentLevel: number;