Change symbol meaning for __extends resolution to be consistent with other helpers
This commit is contained in:
parent
76b34939d0
commit
edf999fcbd
1 changed files with 1 additions and 1 deletions
|
@ -17858,7 +17858,7 @@ namespace ts {
|
|||
if (helpers) {
|
||||
const exports = helpers.exports;
|
||||
if (requestedHelpers & NodeFlags.HasClassExtends && languageVersion < ScriptTarget.ES6) {
|
||||
verifyHelperSymbol(exports, "__extends", SymbolFlags.Function);
|
||||
verifyHelperSymbol(exports, "__extends", SymbolFlags.Value);
|
||||
}
|
||||
if (requestedHelpers & NodeFlags.HasJsxSpreadAttributes && compilerOptions.jsx !== JsxEmit.Preserve) {
|
||||
verifyHelperSymbol(exports, "__assign", SymbolFlags.Value);
|
||||
|
|
Loading…
Reference in a new issue