mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
Update @typescript-eslint/* to v2.1.0 (#2878)
This commit is contained in:
parent
a205e8a3c2
commit
f12acdb50b
31 changed files with 100 additions and 83 deletions
|
@ -490,7 +490,7 @@ const isConsoleInstance = Symbol("isConsoleInstance");
|
|||
|
||||
export class Console {
|
||||
indentLevel: number;
|
||||
[isConsoleInstance]: boolean = false;
|
||||
[isConsoleInstance] = false;
|
||||
|
||||
/** @internal */
|
||||
constructor(private printFunc: PrintFunc) {
|
||||
|
@ -501,7 +501,7 @@ export class Console {
|
|||
// For historical web-compatibility reasons, the namespace object for
|
||||
// console must have as its [[Prototype]] an empty object, created as if
|
||||
// by ObjectCreate(%ObjectPrototype%), instead of %ObjectPrototype%.
|
||||
let console = Object.create({}) as Console;
|
||||
const console = Object.create({}) as Console;
|
||||
Object.assign(console, this);
|
||||
return console;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue