diff --git a/console/console.ts b/console/console.ts index 63de74373..0bd16c0ea 100644 --- a/console/console.ts +++ b/console/console.ts @@ -286,7 +286,7 @@ export class Console implements definition.Console { } private escapeConsoleMessage(str: string): string { - if (typeof (str) != "string") { + if (typeof (str) !== "string") { return str; }