chore(build): fix formatting and tests

Closes #8098
This commit is contained in:
Alex Eagle
2016-04-28 21:58:51 -07:00
committed by Tobias Bosch
parent 78946fe9fa
commit 96ae348648
9 changed files with 20 additions and 24 deletions

View File

@ -68,8 +68,8 @@ export class NodeReflectorHost implements StaticReflectorHost {
if (!symbol) {
throw new Error(`can't find symbol ${symbolName} exported from module ${filePath}`);
}
while (symbol &&
symbol.flags & ts.SymbolFlags.Alias) { // This is an alias, follow what it aliases
if (symbol &&
symbol.flags & ts.SymbolFlags.Alias) { // This is an alias, follow what it aliases
symbol = tc.getAliasedSymbol(symbol);
}
const declaration = symbol.getDeclarations()[0];