From 0676f79e2848eb3dd000219be3832f7bc24bdd3e Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Wed, 28 Oct 2015 14:15:41 -0700 Subject: [PATCH] Linter errors --- src/compiler/checker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 3c3d611e7d9..9b5fc0d7276 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -11616,14 +11616,14 @@ namespace ts { // // When we get the type of the `Promise` symbol here, we get the type of the static // side of the `Promise` class, which would be `{ new (...): Promise }`. - + let promiseType = getTypeFromTypeNode(node.type); if (promiseType === unknownType && compilerOptions.isolatedModules) { // If we are compiling with isolatedModules, we may not be able to resolve the // type as a value. As such, we will just return unknownType; return unknownType; } - + let promiseConstructor = getNodeLinks(node.type).resolvedSymbol; if (!promiseConstructor || !symbolIsValue(promiseConstructor)) { let typeName = promiseConstructor