(node)
| 56488 | return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(declaration, /*includeOptionality*/ true, 0 /* CheckMode.Normal */), declaration, reportErrors); |
| 56489 | } |
| 56490 | function isGlobalSymbolConstructor(node) { |
| 56491 | var symbol = getSymbolOfNode(node); |
| 56492 | var globalSymbol = getGlobalESSymbolConstructorTypeSymbol(/*reportErrors*/ false); |
| 56493 | return globalSymbol && symbol && symbol === globalSymbol; |
| 56494 | } |
| 56495 | function widenTypeForVariableLikeDeclaration(type, declaration, reportErrors) { |
| 56496 | if (type) { |
| 56497 | // TODO: If back compat with pre-3.0/4.0 libs isn't required, remove the following SymbolConstructor special case transforming `symbol` into `unique symbol` |
no test coverage detected