mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Co-authored-by: Andrew Branch <andrew@wheream.io>
This commit is contained in:
co-authored by
Andrew Branch
parent
a360d9fb3a
commit
b7d523ecbb
@@ -46984,7 +46984,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
|
||||
if (requestedExternalEmitHelperNames.has(name)) continue;
|
||||
requestedExternalEmitHelperNames.add(name);
|
||||
|
||||
const symbol = getSymbol(getExportsOfModule(helpersModule), escapeLeadingUnderscores(name), SymbolFlags.Value);
|
||||
const symbol = resolveSymbol(getSymbol(getExportsOfModule(helpersModule), escapeLeadingUnderscores(name), SymbolFlags.Value));
|
||||
if (!symbol) {
|
||||
error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user