@@ -24707,7 +24707,7 @@ var ts;
2470724707 /** @internal */
2470824708 function convertToTSConfig(configParseResult, configFileName, host) {
2470924709 var getCanonicalFileName = ts.createGetCanonicalFileName(host.useCaseSensitiveFileNames);
24710- 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); });
24710+ 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); });
2471124711 var optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: ts.getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });
2471224712 var config = __assign({ compilerOptions: __assign({}, ts.arrayFrom(optionMap.entries()).reduce(function (prev, cur) {
2471324713 var _a;
@@ -24730,20 +24730,20 @@ var ts;
2473024730 }
2473124731 function matchesSpecs(path, includeSpecs, excludeSpecs) {
2473224732 if (!includeSpecs)
24733- return function (_) { return false ; };
24733+ return function (_) { return true ; };
2473424734 var patterns = ts.getFileMatcherPatterns(path, excludeSpecs, includeSpecs, ts.sys.useCaseSensitiveFileNames, ts.sys.getCurrentDirectory());
2473524735 var excludeRe = patterns.excludePattern && ts.getRegexFromPattern(patterns.excludePattern, ts.sys.useCaseSensitiveFileNames);
2473624736 var includeRe = patterns.includeFilePattern && ts.getRegexFromPattern(patterns.includeFilePattern, ts.sys.useCaseSensitiveFileNames);
2473724737 if (includeRe) {
2473824738 if (excludeRe) {
24739- return function (path) { return includeRe.test(path) && !excludeRe.test(path); };
24739+ return function (path) { return !( includeRe.test(path) && !excludeRe.test(path) ); };
2474024740 }
24741- return function (path) { return includeRe.test(path); };
24741+ return function (path) { return ! includeRe.test(path); };
2474224742 }
2474324743 if (excludeRe) {
24744- return function (path) { return ! excludeRe.test(path); };
24744+ return function (path) { return excludeRe.test(path); };
2474524745 }
24746- return function (_) { return false ; };
24746+ return function (_) { return true ; };
2474724747 }
2474824748 function getCustomTypeMapOfCommandLineOption(optionDefinition) {
2474924749 if (optionDefinition.type === "string" || optionDefinition.type === "number" || optionDefinition.type === "boolean") {
@@ -39378,8 +39378,13 @@ var ts;
3937839378 if (!(ts.getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {
3937939379 var type = getLateBoundSymbol(prop).nameType;
3938039380 if (!type && !ts.isKnownSymbol(prop)) {
39381- var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
39382- type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
39381+ if (prop.escapedName === "default" /* Default */) {
39382+ type = getLiteralType("default");
39383+ }
39384+ else {
39385+ var name = prop.valueDeclaration && ts.getNameOfDeclaration(prop.valueDeclaration);
39386+ type = name && getLiteralTypeFromPropertyName(name) || getLiteralType(ts.symbolName(prop));
39387+ }
3938339388 }
3938439389 if (type && type.flags & include) {
3938539390 return type;
@@ -49994,6 +49999,7 @@ var ts;
4999449999 if (hasSyntheticDefault) {
4999550000 var memberTable = ts.createSymbolTable();
4999650001 var newSymbol = createSymbol(2097152 /* Alias */, "default" /* Default */);
50002+ newSymbol.nameType = getLiteralType("default");
4999750003 newSymbol.target = resolveSymbol(symbol);
4999850004 memberTable.set("default" /* Default */, newSymbol);
4999950005 var anonymousSymbol = createSymbol(2048 /* TypeLiteral */, "__type" /* Type */);
0 commit comments