diff --git a/src/services/services.ts b/src/services/services.ts index 9edc38be669..a3822a68382 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -4686,7 +4686,7 @@ module ts { * Returns true if there exists a module that introduces entities on the value side. */ function hasValueSideModule(symbol: Symbol): boolean { - return !!forEach(symbol.declarations, declaration => { + return forEach(symbol.declarations, declaration => { return declaration.kind === SyntaxKind.ModuleDeclaration && isInstantiated(declaration); }); }