Remove now-unused function
`doesNameResolveToLocalSymbolForExportDefault` is no longer used, so delete it.
This commit is contained in:
parent
e62603ba85
commit
9472c0be99
1 changed files with 0 additions and 6 deletions
|
@ -677,12 +677,6 @@ namespace ts {
|
|||
return result;
|
||||
}
|
||||
|
||||
function doesNameResolveToLocalSymbolForExportDefault(exports: SymbolTable, meaning: SymbolFlags, name: string): boolean {
|
||||
const defaultExport = exports["default"];
|
||||
const localSymbol = getLocalSymbolForExportDefault(defaultExport);
|
||||
return defaultExport && (defaultExport.flags & meaning) && localSymbol && localSymbol.name === name;
|
||||
}
|
||||
|
||||
function checkResolvedBlockScopedVariable(result: Symbol, errorLocation: Node): void {
|
||||
Debug.assert((result.flags & SymbolFlags.BlockScopedVariable) !== 0);
|
||||
// Block-scoped variables cannot be used before their definition
|
||||
|
|
Loading…
Reference in a new issue