Removed unnecessary boolean coercion.

This commit is contained in:
Daniel Rosenwasser 2014-10-14 16:22:16 -07:00
parent 640554ae48
commit 6971c3a9cb

View File

@ -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);
});
}