Update LKG.

This commit is contained in:
Daniel Rosenwasser
2018-11-28 15:34:38 -08:00
parent e8938a8a7f
commit 37cbfe254c
6 changed files with 84 additions and 48 deletions
+14 -8
View File
@@ -20065,7 +20065,7 @@ var ts;
}
function convertToTSConfig(configParseResult, configFileName, host) {
var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
var files = ts.map(ts.filter(configParseResult.fileNames, !configParseResult.configFileSpecs ? function (_) { return false; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), f, getCanonicalFileName); });
var files = ts.map(ts.filter(configParseResult.fileNames, (!configParseResult.configFileSpecs || !configParseResult.configFileSpecs.validatedIncludeSpecs) ? function (_) { return true; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), ts.getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName); });
var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
var _a;
@@ -20088,20 +20088,20 @@ var ts;
}
function matchesSpecs(path, includeSpecs, excludeSpecs) {
if (!includeSpecs)
return function (_) { return false; };
return function (_) { return true; };
var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
if (includeRe) {
if (excludeRe) {
return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
return function (path) { return !(includeRe.test(path) && !excludeRe.test(path)); };
}
return function (path) { return includeRe.test(path); };
return function (path) { return !includeRe.test(path); };
}
if (excludeRe) {
return function (path) { return !excludeRe.test(path); };
return function (path) { return excludeRe.test(path); };
}
return function (_) { return false; };
return function (_) { return true; };
}
function getCustomTypeMapOfCommandLineOption(optionDefinition) {
if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -32671,8 +32671,13 @@ var ts;
if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24)) {
var type = getLateBoundSymbol(prop).nameType;
if (!type && !ts.isKnownSymbol(prop)) {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
if (prop.escapedName === "default") {
type = getLiteralType("default");
}
else {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
}
}
if (type && type.flags & include) {
return type;
@@ -41728,6 +41733,7 @@ var ts;
if (hasSyntheticDefault) {
var memberTable = ts.createSymbolTable();
var newSymbol = createSymbol(2097152, "default");
newSymbol.nameType = getLiteralType("default");
newSymbol.target = resolveSymbol(symbol);
memberTable.set("default", newSymbol);
var anonymousSymbol = createSymbol(2048, "__type");
+14 -8
View File
@@ -24707,7 +24707,7 @@ var ts;
/** @internal */
function convertToTSConfig(configParseResult, configFileName, host) {
var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
var files = ts.map(ts.filter(configParseResult.fileNames, !configParseResult.configFileSpecs ? function (_) { return false; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), f, getCanonicalFileName); });
var files = ts.map(ts.filter(configParseResult.fileNames, (!configParseResult.configFileSpecs || !configParseResult.configFileSpecs.validatedIncludeSpecs) ? function (_) { return true; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), ts.getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName); });
var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
var _a;
@@ -24730,20 +24730,20 @@ var ts;
}
function matchesSpecs(path, includeSpecs, excludeSpecs) {
if (!includeSpecs)
return function (_) { return false; };
return function (_) { return true; };
var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
if (includeRe) {
if (excludeRe) {
return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
return function (path) { return !(includeRe.test(path) && !excludeRe.test(path)); };
}
return function (path) { return includeRe.test(path); };
return function (path) { return !includeRe.test(path); };
}
if (excludeRe) {
return function (path) { return !excludeRe.test(path); };
return function (path) { return excludeRe.test(path); };
}
return function (_) { return false; };
return function (_) { return true; };
}
function getCustomTypeMapOfCommandLineOption(optionDefinition) {
if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -39378,8 +39378,13 @@ var ts;
if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {
var type = getLateBoundSymbol(prop).nameType;
if (!type && !ts.isKnownSymbol(prop)) {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
if (prop.escapedName === "default" /* Default */) {
type = getLiteralType("default");
}
else {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
}
}
if (type && type.flags & include) {
return type;
@@ -49994,6 +49999,7 @@ var ts;
if (hasSyntheticDefault) {
var memberTable = ts.createSymbolTable();
var newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */);
newSymbol.nameType = getLiteralType("default");
newSymbol.target = resolveSymbol(symbol);
memberTable.set("default" /* Default */, newSymbol);
var anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */);
+14 -8
View File
@@ -24703,7 +24703,7 @@ var ts;
/** @internal */
function convertToTSConfig(configParseResult, configFileName, host) {
var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
var files = ts.map(ts.filter(configParseResult.fileNames, !configParseResult.configFileSpecs ? function (_) { return false; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), f, getCanonicalFileName); });
var files = ts.map(ts.filter(configParseResult.fileNames, (!configParseResult.configFileSpecs || !configParseResult.configFileSpecs.validatedIncludeSpecs) ? function (_) { return true; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), ts.getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName); });
var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
var _a;
@@ -24726,20 +24726,20 @@ var ts;
}
function matchesSpecs(path, includeSpecs, excludeSpecs) {
if (!includeSpecs)
return function (_) { return false; };
return function (_) { return true; };
var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
if (includeRe) {
if (excludeRe) {
return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
return function (path) { return !(includeRe.test(path) && !excludeRe.test(path)); };
}
return function (path) { return includeRe.test(path); };
return function (path) { return !includeRe.test(path); };
}
if (excludeRe) {
return function (path) { return !excludeRe.test(path); };
return function (path) { return excludeRe.test(path); };
}
return function (_) { return false; };
return function (_) { return true; };
}
function getCustomTypeMapOfCommandLineOption(optionDefinition) {
if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -39374,8 +39374,13 @@ var ts;
if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {
var type = getLateBoundSymbol(prop).nameType;
if (!type && !ts.isKnownSymbol(prop)) {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
if (prop.escapedName === "default" /* Default */) {
type = getLiteralType("default");
}
else {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
}
}
if (type && type.flags & include) {
return type;
@@ -49990,6 +49995,7 @@ var ts;
if (hasSyntheticDefault) {
var memberTable = ts.createSymbolTable();
var newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */);
newSymbol.nameType = getLiteralType("default");
newSymbol.target = resolveSymbol(symbol);
memberTable.set("default" /* Default */, newSymbol);
var anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */);
+14 -8
View File
@@ -24694,7 +24694,7 @@ var ts;
/** @internal */
function convertToTSConfig(configParseResult, configFileName, host) {
var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
var files = ts.map(ts.filter(configParseResult.fileNames, !configParseResult.configFileSpecs ? function (_) { return false; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), f, getCanonicalFileName); });
var files = ts.map(ts.filter(configParseResult.fileNames, (!configParseResult.configFileSpecs || !configParseResult.configFileSpecs.validatedIncludeSpecs) ? function (_) { return true; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), ts.getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName); });
var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
var _a;
@@ -24717,20 +24717,20 @@ var ts;
}
function matchesSpecs(path, includeSpecs, excludeSpecs) {
if (!includeSpecs)
return function (_) { return false; };
return function (_) { return true; };
var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
if (includeRe) {
if (excludeRe) {
return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
return function (path) { return !(includeRe.test(path) && !excludeRe.test(path)); };
}
return function (path) { return includeRe.test(path); };
return function (path) { return !includeRe.test(path); };
}
if (excludeRe) {
return function (path) { return !excludeRe.test(path); };
return function (path) { return excludeRe.test(path); };
}
return function (_) { return false; };
return function (_) { return true; };
}
function getCustomTypeMapOfCommandLineOption(optionDefinition) {
if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -39365,8 +39365,13 @@ var ts;
if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {
var type = getLateBoundSymbol(prop).nameType;
if (!type && !ts.isKnownSymbol(prop)) {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
if (prop.escapedName === "default" /* Default */) {
type = getLiteralType("default");
}
else {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
}
}
if (type && type.flags & include) {
return type;
@@ -49981,6 +49986,7 @@ var ts;
if (hasSyntheticDefault) {
var memberTable = ts.createSymbolTable();
var newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */);
newSymbol.nameType = getLiteralType("default");
newSymbol.target = resolveSymbol(symbol);
memberTable.set("default" /* Default */, newSymbol);
var anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */);
+14 -8
View File
@@ -24694,7 +24694,7 @@ var ts;
/** @internal */
function convertToTSConfig(configParseResult, configFileName, host) {
var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
var files = ts.map(ts.filter(configParseResult.fileNames, !configParseResult.configFileSpecs ? function (_) { return false; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), f, getCanonicalFileName); });
var files = ts.map(ts.filter(configParseResult.fileNames, (!configParseResult.configFileSpecs || !configParseResult.configFileSpecs.validatedIncludeSpecs) ? function (_) { return true; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), ts.getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName); });
var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
var _a;
@@ -24717,20 +24717,20 @@ var ts;
}
function matchesSpecs(path, includeSpecs, excludeSpecs) {
if (!includeSpecs)
return function (_) { return false; };
return function (_) { return true; };
var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
if (includeRe) {
if (excludeRe) {
return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
return function (path) { return !(includeRe.test(path) && !excludeRe.test(path)); };
}
return function (path) { return includeRe.test(path); };
return function (path) { return !includeRe.test(path); };
}
if (excludeRe) {
return function (path) { return !excludeRe.test(path); };
return function (path) { return excludeRe.test(path); };
}
return function (_) { return false; };
return function (_) { return true; };
}
function getCustomTypeMapOfCommandLineOption(optionDefinition) {
if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -39365,8 +39365,13 @@ var ts;
if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {
var type = getLateBoundSymbol(prop).nameType;
if (!type && !ts.isKnownSymbol(prop)) {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
if (prop.escapedName === "default" /* Default */) {
type = getLiteralType("default");
}
else {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
}
}
if (type && type.flags & include) {
return type;
@@ -49981,6 +49986,7 @@ var ts;
if (hasSyntheticDefault) {
var memberTable = ts.createSymbolTable();
var newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */);
newSymbol.nameType = getLiteralType("default");
newSymbol.target = resolveSymbol(symbol);
memberTable.set("default" /* Default */, newSymbol);
var anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */);
+14 -8
View File
@@ -24707,7 +24707,7 @@ var ts;
/** @internal */
function convertToTSConfig(configParseResult, configFileName, host) {
var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
var files = ts.map(ts.filter(configParseResult.fileNames, !configParseResult.configFileSpecs ? function (_) { return false; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), f, getCanonicalFileName); });
var files = ts.map(ts.filter(configParseResult.fileNames, (!configParseResult.configFileSpecs || !configParseResult.configFileSpecs.validatedIncludeSpecs) ? function (_) { return true; } : matchesSpecs(configFileName, configParseResult.configFileSpecs.validatedIncludeSpecs, configParseResult.configFileSpecs.validatedExcludeSpecs)), function (f) { return ts.getRelativePathFromFile(ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), ts.getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName); });
var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
var _a;
@@ -24730,20 +24730,20 @@ var ts;
}
function matchesSpecs(path, includeSpecs, excludeSpecs) {
if (!includeSpecs)
return function (_) { return false; };
return function (_) { return true; };
var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
if (includeRe) {
if (excludeRe) {
return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
return function (path) { return !(includeRe.test(path) && !excludeRe.test(path)); };
}
return function (path) { return includeRe.test(path); };
return function (path) { return !includeRe.test(path); };
}
if (excludeRe) {
return function (path) { return !excludeRe.test(path); };
return function (path) { return excludeRe.test(path); };
}
return function (_) { return false; };
return function (_) { return true; };
}
function getCustomTypeMapOfCommandLineOption(optionDefinition) {
if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -39378,8 +39378,13 @@ var ts;
if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {
var type = getLateBoundSymbol(prop).nameType;
if (!type && !ts.isKnownSymbol(prop)) {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
if (prop.escapedName === "default" /* Default */) {
type = getLiteralType("default");
}
else {
var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
}
}
if (type && type.flags & include) {
return type;
@@ -49994,6 +49999,7 @@ var ts;
if (hasSyntheticDefault) {
var memberTable = ts.createSymbolTable();
var newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */);
newSymbol.nameType = getLiteralType("default");
newSymbol.target = resolveSymbol(symbol);
memberTable.set("default" /* Default */, newSymbol);
var anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */);