mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Merge branch 'master' into report-multiple-overload-errors
This commit is contained in:
commit
c48018f95e
185 files changed
+3033
-2296
No files matched your search
@@ -34,6 +34,7 @@ tests/webTestServer.js.map
|
||||
tests/webhost/*.d.ts
|
||||
tests/webhost/webtsc.js
|
||||
tests/cases/**/*.js
|
||||
!tests/cases/docker/*.js/
|
||||
tests/cases/**/*.js.map
|
||||
*.config
|
||||
scripts/debug.bat
|
||||
|
||||
@@ -7,18 +7,23 @@ const { runSequence } = require("./run-sequence");
|
||||
const triggeredPR = process.env.SOURCE_ISSUE || process.env.SYSTEM_PULLREQUEST_PULLREQUESTNUMBER;
|
||||
|
||||
/**
|
||||
* This program should be invoked as `node ./scripts/update-experimental-branches <GithubAccessToken> <PR1> [PR2] [...]`
|
||||
* The order PR numbers are passed controls the order in which they are merged together.
|
||||
* This program should be invoked as `node ./scripts/update-experimental-branches <GithubAccessToken>`
|
||||
* TODO: the following is racey - if two experiment-enlisted PRs trigger simultaneously and witness one another in an unupdated state, they'll both produce
|
||||
* a new experimental branch, but each will be missing a change from the other. There's no _great_ way to fix this beyond setting the maximum concurrency
|
||||
* of this task to 1 (so only one job is allowed to update experiments at a time).
|
||||
*/
|
||||
async function main() {
|
||||
const prnums = process.argv.slice(3);
|
||||
if (!prnums.length) {
|
||||
return; // No enlisted PRs, nothing to update
|
||||
}
|
||||
if (!prnums.some(n => n === triggeredPR)) {
|
||||
const gh = new Octokit({
|
||||
auth: process.argv[2]
|
||||
});
|
||||
const prnums = (await gh.issues.listForRepo({
|
||||
labels: "typescript@experimental",
|
||||
sort: "created",
|
||||
state: "open",
|
||||
owner: "Microsoft",
|
||||
repo: "TypeScript",
|
||||
})).data.filter(i => !!i.pull_request).map(i => i.number);
|
||||
if (triggeredPR && !prnums.some(n => n === +triggeredPR)) {
|
||||
return; // Only have work to do for enlisted PRs
|
||||
}
|
||||
console.log(`Performing experimental branch updating and merging for pull requests ${prnums.join(", ")}`);
|
||||
@@ -34,9 +39,6 @@ async function main() {
|
||||
["git", ["remote", "add", "fork", remoteUrl]], // Add the remote fork
|
||||
]);
|
||||
|
||||
const gh = new Octokit({
|
||||
auth: process.argv[2]
|
||||
});
|
||||
for (const numRaw of prnums) {
|
||||
const num = +numRaw;
|
||||
if (num) {
|
||||
@@ -51,9 +53,8 @@ async function main() {
|
||||
issue_number: num,
|
||||
body: `This PR is configured as an experiment, and currently has rebase conflicts with master - please rebase onto master and fix the conflicts.`
|
||||
});
|
||||
throw new Error(`Rebase conflict detected in PR ${num} with master`);
|
||||
}
|
||||
return; // A PR is currently in conflict, give up
|
||||
throw new Error(`Rebase conflict detected in PR ${num} with master`); // A PR is currently in conflict, give up
|
||||
}
|
||||
runSequence([
|
||||
["git", ["fetch", "origin", `pull/${num}/head:${num}`]],
|
||||
|
||||
+128
-35
@@ -10,18 +10,13 @@ namespace ts {
|
||||
export interface ReusableDiagnosticRelatedInformation {
|
||||
category: DiagnosticCategory;
|
||||
code: number;
|
||||
file: Path | undefined;
|
||||
file: string | undefined;
|
||||
start: number | undefined;
|
||||
length: number | undefined;
|
||||
messageText: string | ReusableDiagnosticMessageChain;
|
||||
}
|
||||
|
||||
export interface ReusableDiagnosticMessageChain {
|
||||
messageText: string;
|
||||
category: DiagnosticCategory;
|
||||
code: number;
|
||||
next?: ReusableDiagnosticMessageChain[];
|
||||
}
|
||||
export type ReusableDiagnosticMessageChain = DiagnosticMessageChain;
|
||||
|
||||
export interface ReusableBuilderProgramState extends ReusableBuilderState {
|
||||
/**
|
||||
@@ -227,7 +222,7 @@ namespace ts {
|
||||
// Unchanged file copy diagnostics
|
||||
const diagnostics = oldState!.semanticDiagnosticsPerFile!.get(sourceFilePath);
|
||||
if (diagnostics) {
|
||||
state.semanticDiagnosticsPerFile!.set(sourceFilePath, oldState!.hasReusableDiagnostic ? convertToDiagnostics(diagnostics as ReadonlyArray<ReusableDiagnostic>, newProgram) : diagnostics as ReadonlyArray<Diagnostic>);
|
||||
state.semanticDiagnosticsPerFile!.set(sourceFilePath, oldState!.hasReusableDiagnostic ? convertToDiagnostics(diagnostics as ReadonlyArray<ReusableDiagnostic>, newProgram, getCanonicalFileName) : diagnostics as ReadonlyArray<Diagnostic>);
|
||||
if (!state.semanticDiagnosticsFromOldState) {
|
||||
state.semanticDiagnosticsFromOldState = createMap<true>();
|
||||
}
|
||||
@@ -246,27 +241,32 @@ namespace ts {
|
||||
return state;
|
||||
}
|
||||
|
||||
function convertToDiagnostics(diagnostics: ReadonlyArray<ReusableDiagnostic>, newProgram: Program): ReadonlyArray<Diagnostic> {
|
||||
function convertToDiagnostics(diagnostics: ReadonlyArray<ReusableDiagnostic>, newProgram: Program, getCanonicalFileName: GetCanonicalFileName): ReadonlyArray<Diagnostic> {
|
||||
if (!diagnostics.length) return emptyArray;
|
||||
const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getOutputPathForBuildInfo(newProgram.getCompilerOptions())!, newProgram.getCurrentDirectory()));
|
||||
return diagnostics.map(diagnostic => {
|
||||
const result: Diagnostic = convertToDiagnosticRelatedInformation(diagnostic, newProgram);
|
||||
const result: Diagnostic = convertToDiagnosticRelatedInformation(diagnostic, newProgram, toPath);
|
||||
result.reportsUnnecessary = diagnostic.reportsUnnecessary;
|
||||
result.source = diagnostic.source;
|
||||
const { relatedInformation } = diagnostic;
|
||||
result.relatedInformation = relatedInformation ?
|
||||
relatedInformation.length ?
|
||||
relatedInformation.map(r => convertToDiagnosticRelatedInformation(r, newProgram)) :
|
||||
relatedInformation.map(r => convertToDiagnosticRelatedInformation(r, newProgram, toPath)) :
|
||||
emptyArray :
|
||||
undefined;
|
||||
return result;
|
||||
});
|
||||
|
||||
function toPath(path: string) {
|
||||
return ts.toPath(path, buildInfoDirectory, getCanonicalFileName);
|
||||
}
|
||||
}
|
||||
|
||||
function convertToDiagnosticRelatedInformation(diagnostic: ReusableDiagnosticRelatedInformation, newProgram: Program): DiagnosticRelatedInformation {
|
||||
function convertToDiagnosticRelatedInformation(diagnostic: ReusableDiagnosticRelatedInformation, newProgram: Program, toPath: (path: string) => Path): DiagnosticRelatedInformation {
|
||||
const { file } = diagnostic;
|
||||
return {
|
||||
...diagnostic,
|
||||
file: file && newProgram.getSourceFileByPath(file),
|
||||
file: file ? newProgram.getSourceFileByPath(toPath(file)) : undefined
|
||||
};
|
||||
}
|
||||
|
||||
@@ -610,19 +610,23 @@ namespace ts {
|
||||
/**
|
||||
* Gets the program information to be emitted in buildInfo so that we can use it to create new program
|
||||
*/
|
||||
function getProgramBuildInfo(state: Readonly<ReusableBuilderProgramState>): ProgramBuildInfo | undefined {
|
||||
function getProgramBuildInfo(state: Readonly<ReusableBuilderProgramState>, getCanonicalFileName: GetCanonicalFileName): ProgramBuildInfo | undefined {
|
||||
if (state.compilerOptions.outFile || state.compilerOptions.out) return undefined;
|
||||
const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getOutputPathForBuildInfo(state.compilerOptions)!, Debug.assertDefined(state.program).getCurrentDirectory()));
|
||||
const fileInfos: MapLike<BuilderState.FileInfo> = {};
|
||||
state.fileInfos.forEach((value, key) => {
|
||||
const signature = state.currentAffectedFilesSignatures && state.currentAffectedFilesSignatures.get(key);
|
||||
fileInfos[key] = signature === undefined ? value : { version: value.version, signature };
|
||||
fileInfos[relativeToBuildInfo(key)] = signature === undefined ? value : { version: value.version, signature };
|
||||
});
|
||||
|
||||
const result: ProgramBuildInfo = { fileInfos, options: state.compilerOptions };
|
||||
const result: ProgramBuildInfo = {
|
||||
fileInfos,
|
||||
options: convertToReusableCompilerOptions(state.compilerOptions, relativeToBuildInfo)
|
||||
};
|
||||
if (state.referencedMap) {
|
||||
const referencedMap: MapLike<string[]> = {};
|
||||
state.referencedMap.forEach((value, key) => {
|
||||
referencedMap[key] = arrayFrom(value.keys());
|
||||
referencedMap[relativeToBuildInfo(key)] = arrayFrom(value.keys(), relativeToBuildInfo);
|
||||
});
|
||||
result.referencedMap = referencedMap;
|
||||
}
|
||||
@@ -632,9 +636,9 @@ namespace ts {
|
||||
state.exportedModulesMap.forEach((value, key) => {
|
||||
const newValue = state.currentAffectedFilesExportedModulesMap && state.currentAffectedFilesExportedModulesMap.get(key);
|
||||
// Not in temporary cache, use existing value
|
||||
if (newValue === undefined) exportedModulesMap[key] = arrayFrom(value.keys());
|
||||
if (newValue === undefined) exportedModulesMap[relativeToBuildInfo(key)] = arrayFrom(value.keys(), relativeToBuildInfo);
|
||||
// Value in cache and has updated value map, use that
|
||||
else if (newValue) exportedModulesMap[key] = arrayFrom(newValue.keys());
|
||||
else if (newValue) exportedModulesMap[relativeToBuildInfo(key)] = arrayFrom(newValue.keys(), relativeToBuildInfo);
|
||||
});
|
||||
result.exportedModulesMap = exportedModulesMap;
|
||||
}
|
||||
@@ -645,40 +649,78 @@ namespace ts {
|
||||
state.semanticDiagnosticsPerFile.forEach((value, key) => semanticDiagnosticsPerFile.push(
|
||||
value.length ?
|
||||
[
|
||||
key,
|
||||
relativeToBuildInfo(key),
|
||||
state.hasReusableDiagnostic ?
|
||||
value as ReadonlyArray<ReusableDiagnostic> :
|
||||
convertToReusableDiagnostics(value as ReadonlyArray<Diagnostic>)
|
||||
convertToReusableDiagnostics(value as ReadonlyArray<Diagnostic>, relativeToBuildInfo)
|
||||
] :
|
||||
key
|
||||
relativeToBuildInfo(key)
|
||||
));
|
||||
result.semanticDiagnosticsPerFile = semanticDiagnosticsPerFile;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
function relativeToBuildInfo(path: string) {
|
||||
return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, getCanonicalFileName));
|
||||
}
|
||||
}
|
||||
|
||||
function convertToReusableDiagnostics(diagnostics: ReadonlyArray<Diagnostic>): ReadonlyArray<ReusableDiagnostic> {
|
||||
function convertToReusableCompilerOptions(options: CompilerOptions, relativeToBuildInfo: (path: string) => string) {
|
||||
const result: CompilerOptions = {};
|
||||
const optionsNameMap = getOptionNameMap().optionNameMap;
|
||||
|
||||
for (const name in options) {
|
||||
if (hasProperty(options, name)) {
|
||||
result[name] = convertToReusableCompilerOptionValue(
|
||||
optionsNameMap.get(name.toLowerCase()),
|
||||
options[name] as CompilerOptionsValue,
|
||||
relativeToBuildInfo
|
||||
);
|
||||
}
|
||||
}
|
||||
if (result.configFilePath) {
|
||||
result.configFilePath = relativeToBuildInfo(result.configFilePath);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
function convertToReusableCompilerOptionValue(option: CommandLineOption | undefined, value: CompilerOptionsValue, relativeToBuildInfo: (path: string) => string) {
|
||||
if (option) {
|
||||
if (option.type === "list") {
|
||||
const values = value as ReadonlyArray<string | number>;
|
||||
if (option.element.isFilePath && values.length) {
|
||||
return values.map(relativeToBuildInfo);
|
||||
}
|
||||
}
|
||||
else if (option.isFilePath) {
|
||||
return relativeToBuildInfo(value as string);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function convertToReusableDiagnostics(diagnostics: ReadonlyArray<Diagnostic>, relativeToBuildInfo: (path: string) => string): ReadonlyArray<ReusableDiagnostic> {
|
||||
Debug.assert(!!diagnostics.length);
|
||||
return diagnostics.map(diagnostic => {
|
||||
const result: ReusableDiagnostic = convertToReusableDiagnosticRelatedInformation(diagnostic);
|
||||
const result: ReusableDiagnostic = convertToReusableDiagnosticRelatedInformation(diagnostic, relativeToBuildInfo);
|
||||
result.reportsUnnecessary = diagnostic.reportsUnnecessary;
|
||||
result.source = diagnostic.source;
|
||||
const { relatedInformation } = diagnostic;
|
||||
result.relatedInformation = relatedInformation ?
|
||||
relatedInformation.length ?
|
||||
relatedInformation.map(r => convertToReusableDiagnosticRelatedInformation(r)) :
|
||||
relatedInformation.map(r => convertToReusableDiagnosticRelatedInformation(r, relativeToBuildInfo)) :
|
||||
emptyArray :
|
||||
undefined;
|
||||
return result;
|
||||
});
|
||||
}
|
||||
|
||||
function convertToReusableDiagnosticRelatedInformation(diagnostic: DiagnosticRelatedInformation): ReusableDiagnosticRelatedInformation {
|
||||
function convertToReusableDiagnosticRelatedInformation(diagnostic: DiagnosticRelatedInformation, relativeToBuildInfo: (path: string) => string): ReusableDiagnosticRelatedInformation {
|
||||
const { file } = diagnostic;
|
||||
return {
|
||||
...diagnostic,
|
||||
file: file && file.path,
|
||||
file: file ? relativeToBuildInfo(file.path) : undefined
|
||||
};
|
||||
}
|
||||
|
||||
@@ -747,7 +789,7 @@ namespace ts {
|
||||
const computeHash = host.createHash || generateDjb2Hash;
|
||||
let state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState);
|
||||
let backupState: BuilderProgramState | undefined;
|
||||
newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state);
|
||||
newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName);
|
||||
|
||||
// To ensure that we arent storing any references to old program or new program without state
|
||||
newProgram = undefined!; // TODO: GH#18217
|
||||
@@ -960,26 +1002,35 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function getMapOfReferencedSet(mapLike: MapLike<ReadonlyArray<string>> | undefined): ReadonlyMap<BuilderState.ReferencedSet> | undefined {
|
||||
function getMapOfReferencedSet(mapLike: MapLike<ReadonlyArray<string>> | undefined, toPath: (path: string) => Path): ReadonlyMap<BuilderState.ReferencedSet> | undefined {
|
||||
if (!mapLike) return undefined;
|
||||
const map = createMap<BuilderState.ReferencedSet>();
|
||||
// Copies keys/values from template. Note that for..in will not throw if
|
||||
// template is undefined, and instead will just exit the loop.
|
||||
for (const key in mapLike) {
|
||||
if (hasProperty(mapLike, key)) {
|
||||
map.set(key, arrayToSet(mapLike[key]));
|
||||
map.set(toPath(key), arrayToSet(mapLike[key], toPath));
|
||||
}
|
||||
}
|
||||
return map;
|
||||
}
|
||||
|
||||
export function createBuildProgramUsingProgramBuildInfo(program: ProgramBuildInfo): EmitAndSemanticDiagnosticsBuilderProgram {
|
||||
const fileInfos = createMapFromTemplate(program.fileInfos);
|
||||
export function createBuildProgramUsingProgramBuildInfo(program: ProgramBuildInfo, buildInfoPath: string, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram {
|
||||
const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));
|
||||
const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());
|
||||
|
||||
const fileInfos = createMap<BuilderState.FileInfo>();
|
||||
for (const key in program.fileInfos) {
|
||||
if (hasProperty(program.fileInfos, key)) {
|
||||
fileInfos.set(toPath(key), program.fileInfos[key]);
|
||||
}
|
||||
}
|
||||
|
||||
const state: ReusableBuilderProgramState = {
|
||||
fileInfos,
|
||||
compilerOptions: program.options,
|
||||
referencedMap: getMapOfReferencedSet(program.referencedMap),
|
||||
exportedModulesMap: getMapOfReferencedSet(program.exportedModulesMap),
|
||||
compilerOptions: convertFromReusableCompilerOptions(program.options, toAbsolutePath),
|
||||
referencedMap: getMapOfReferencedSet(program.referencedMap, toPath),
|
||||
exportedModulesMap: getMapOfReferencedSet(program.exportedModulesMap, toPath),
|
||||
semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(program.semanticDiagnosticsPerFile, value => isString(value) ? value : value[0], value => isString(value) ? emptyArray : value[1]),
|
||||
hasReusableDiagnostic: true
|
||||
};
|
||||
@@ -1005,6 +1056,48 @@ namespace ts {
|
||||
emitNextAffectedFile: notImplemented,
|
||||
getSemanticDiagnosticsOfNextAffectedFile: notImplemented,
|
||||
};
|
||||
|
||||
function toPath(path: string) {
|
||||
return ts.toPath(path, buildInfoDirectory, getCanonicalFileName);
|
||||
}
|
||||
|
||||
function toAbsolutePath(path: string) {
|
||||
return getNormalizedAbsolutePath(path, buildInfoDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
function convertFromReusableCompilerOptions(options: CompilerOptions, toAbsolutePath: (path: string) => string) {
|
||||
const result: CompilerOptions = {};
|
||||
const optionsNameMap = getOptionNameMap().optionNameMap;
|
||||
|
||||
for (const name in options) {
|
||||
if (hasProperty(options, name)) {
|
||||
result[name] = convertFromReusableCompilerOptionValue(
|
||||
optionsNameMap.get(name.toLowerCase()),
|
||||
options[name] as CompilerOptionsValue,
|
||||
toAbsolutePath
|
||||
);
|
||||
}
|
||||
}
|
||||
if (result.configFilePath) {
|
||||
result.configFilePath = toAbsolutePath(result.configFilePath);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
function convertFromReusableCompilerOptionValue(option: CommandLineOption | undefined, value: CompilerOptionsValue, toAbsolutePath: (path: string) => string) {
|
||||
if (option) {
|
||||
if (option.type === "list") {
|
||||
const values = value as ReadonlyArray<string | number>;
|
||||
if (option.element.isFilePath && values.length) {
|
||||
return values.map(toAbsolutePath);
|
||||
}
|
||||
}
|
||||
else if (option.isFilePath) {
|
||||
return toAbsolutePath(value as string);
|
||||
}
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
export function createRedirectedBuilderProgram(state: { program: Program | undefined; compilerOptions: CompilerOptions; }, configFileParsingDiagnostics: ReadonlyArray<Diagnostic>): BuilderProgram {
|
||||
|
||||
+11
-1
@@ -20111,6 +20111,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
function checkJsxExpression(node: JsxExpression, checkMode?: CheckMode) {
|
||||
checkGrammarJsxExpression(node);
|
||||
if (node.expression) {
|
||||
const type = checkExpression(node.expression, checkMode);
|
||||
if (node.dotDotDotToken && type !== anyType && !isArrayType(type)) {
|
||||
@@ -22658,7 +22659,10 @@ namespace ts {
|
||||
case SyntaxKind.ElementAccessExpression:
|
||||
const expr = (<PropertyAccessExpression | ElementAccessExpression>node).expression;
|
||||
if (isIdentifier(expr)) {
|
||||
const symbol = getSymbolAtLocation(expr);
|
||||
let symbol = getSymbolAtLocation(expr);
|
||||
if (symbol && symbol.flags & SymbolFlags.Alias) {
|
||||
symbol = resolveAlias(symbol);
|
||||
}
|
||||
return !!(symbol && (symbol.flags & SymbolFlags.Enum) && getEnumKind(symbol) === EnumKind.Literal);
|
||||
}
|
||||
}
|
||||
@@ -32061,6 +32065,12 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function checkGrammarJsxExpression(node: JsxExpression) {
|
||||
if (node.expression && isCommaSequence(node.expression)) {
|
||||
return grammarErrorOnNode(node.expression, Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array);
|
||||
}
|
||||
}
|
||||
|
||||
function checkGrammarForInOrForOfStatement(forInOrOfStatement: ForInOrOfStatement): boolean {
|
||||
if (checkGrammarStatementInAmbientContext(forInOrOfStatement)) {
|
||||
return true;
|
||||
|
||||
@@ -969,7 +969,8 @@ namespace ts {
|
||||
return typeAcquisition;
|
||||
}
|
||||
|
||||
function getOptionNameMap(): OptionNameMap {
|
||||
/* @internal */
|
||||
export function getOptionNameMap(): OptionNameMap {
|
||||
return optionNameMapCache || (optionNameMapCache = createOptionNameMap(optionDeclarations));
|
||||
}
|
||||
|
||||
|
||||
@@ -5025,5 +5025,9 @@
|
||||
"Classes may not have a field named 'constructor'.": {
|
||||
"category": "Error",
|
||||
"code": 18006
|
||||
},
|
||||
"JSX expressions may not use the comma operator. Did you mean to write an array?": {
|
||||
"category": "Error",
|
||||
"code": 18007
|
||||
}
|
||||
}
|
||||
+41
-13
@@ -249,14 +249,16 @@ namespace ts {
|
||||
};
|
||||
|
||||
function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }: EmitFileNames, sourceFileOrBundle: SourceFile | Bundle | undefined) {
|
||||
let buildInfoDirectory: string | undefined;
|
||||
if (buildInfoPath && sourceFileOrBundle && isBundle(sourceFileOrBundle)) {
|
||||
buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));
|
||||
bundleBuildInfo = {
|
||||
commonSourceDirectory: host.getCommonSourceDirectory(),
|
||||
sourceFiles: sourceFileOrBundle.sourceFiles.map(file => file.fileName)
|
||||
commonSourceDirectory: relativeToBuildInfo(host.getCommonSourceDirectory()),
|
||||
sourceFiles: sourceFileOrBundle.sourceFiles.map(file => relativeToBuildInfo(getNormalizedAbsolutePath(file.fileName, host.getCurrentDirectory())))
|
||||
};
|
||||
}
|
||||
emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath);
|
||||
emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath);
|
||||
emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath, relativeToBuildInfo);
|
||||
emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath, relativeToBuildInfo);
|
||||
emitBuildInfo(bundleBuildInfo, buildInfoPath);
|
||||
|
||||
if (!emitSkipped && emittedFilesList) {
|
||||
@@ -278,6 +280,10 @@ namespace ts {
|
||||
emittedFilesList.push(declarationMapPath);
|
||||
}
|
||||
}
|
||||
|
||||
function relativeToBuildInfo(path: string) {
|
||||
return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory!, path, host.getCanonicalFileName));
|
||||
}
|
||||
}
|
||||
|
||||
function emitBuildInfo(bundle: BundleBuildInfo | undefined, buildInfoPath: string | undefined) {
|
||||
@@ -291,7 +297,11 @@ namespace ts {
|
||||
writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText({ bundle, program, version }), /*writeByteOrderMark*/ false);
|
||||
}
|
||||
|
||||
function emitJsFileOrBundle(sourceFileOrBundle: SourceFile | Bundle | undefined, jsFilePath: string | undefined, sourceMapFilePath: string | undefined) {
|
||||
function emitJsFileOrBundle(
|
||||
sourceFileOrBundle: SourceFile | Bundle | undefined,
|
||||
jsFilePath: string | undefined,
|
||||
sourceMapFilePath: string | undefined,
|
||||
relativeToBuildInfo: (path: string) => string) {
|
||||
if (!sourceFileOrBundle || emitOnlyDtsFiles || !jsFilePath) {
|
||||
return;
|
||||
}
|
||||
@@ -314,7 +324,8 @@ namespace ts {
|
||||
inlineSourceMap: compilerOptions.inlineSourceMap,
|
||||
inlineSources: compilerOptions.inlineSources,
|
||||
extendedDiagnostics: compilerOptions.extendedDiagnostics,
|
||||
writeBundleFileInfo: !!bundleBuildInfo
|
||||
writeBundleFileInfo: !!bundleBuildInfo,
|
||||
relativeToBuildInfo
|
||||
};
|
||||
|
||||
// Create a printer to print the nodes
|
||||
@@ -335,7 +346,11 @@ namespace ts {
|
||||
if (bundleBuildInfo) bundleBuildInfo.js = printer.bundleFileInfo;
|
||||
}
|
||||
|
||||
function emitDeclarationFileOrBundle(sourceFileOrBundle: SourceFile | Bundle | undefined, declarationFilePath: string | undefined, declarationMapPath: string | undefined) {
|
||||
function emitDeclarationFileOrBundle(
|
||||
sourceFileOrBundle: SourceFile | Bundle | undefined,
|
||||
declarationFilePath: string | undefined,
|
||||
declarationMapPath: string | undefined,
|
||||
relativeToBuildInfo: (path: string) => string) {
|
||||
if (!sourceFileOrBundle || !(declarationFilePath && !isInJSFile(sourceFileOrBundle))) {
|
||||
return;
|
||||
}
|
||||
@@ -366,7 +381,8 @@ namespace ts {
|
||||
extendedDiagnostics: compilerOptions.extendedDiagnostics,
|
||||
onlyPrintJsDocStyle: true,
|
||||
writeBundleFileInfo: !!bundleBuildInfo,
|
||||
recordInternalSection: !!bundleBuildInfo
|
||||
recordInternalSection: !!bundleBuildInfo,
|
||||
relativeToBuildInfo
|
||||
};
|
||||
|
||||
const declarationPrinter = createPrinter(printerOptions, {
|
||||
@@ -613,10 +629,14 @@ namespace ts {
|
||||
getNewLine(): string;
|
||||
}
|
||||
|
||||
function createSourceFilesFromBundleBuildInfo(bundle: BundleBuildInfo): ReadonlyArray<SourceFile> {
|
||||
function createSourceFilesFromBundleBuildInfo(bundle: BundleBuildInfo, buildInfoDirectory: string, host: EmitUsingBuildInfoHost): ReadonlyArray<SourceFile> {
|
||||
const sourceFiles = bundle.sourceFiles.map(fileName => {
|
||||
const sourceFile = createNode(SyntaxKind.SourceFile, 0, 0) as SourceFile;
|
||||
sourceFile.fileName = fileName;
|
||||
sourceFile.fileName = getRelativePathFromDirectory(
|
||||
host.getCurrentDirectory(),
|
||||
getNormalizedAbsolutePath(fileName, buildInfoDirectory),
|
||||
!host.useCaseSensitiveFileNames()
|
||||
);
|
||||
sourceFile.text = "";
|
||||
sourceFile.statements = createNodeArray();
|
||||
return sourceFile;
|
||||
@@ -660,6 +680,7 @@ namespace ts {
|
||||
|
||||
const buildInfo = getBuildInfo(buildInfoText);
|
||||
if (!buildInfo.bundle || !buildInfo.bundle.js || (declarationText && !buildInfo.bundle.dts)) return buildInfoPath!;
|
||||
const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath!, host.getCurrentDirectory()));
|
||||
const ownPrependInput = createInputFiles(
|
||||
jsFileText,
|
||||
declarationText!,
|
||||
@@ -675,11 +696,11 @@ namespace ts {
|
||||
);
|
||||
const outputFiles: OutputFile[] = [];
|
||||
const prependNodes = createPrependNodes(config.projectReferences, getCommandLine, f => host.readFile(f));
|
||||
const sourceFilesForJsEmit = createSourceFilesFromBundleBuildInfo(buildInfo.bundle);
|
||||
const sourceFilesForJsEmit = createSourceFilesFromBundleBuildInfo(buildInfo.bundle, buildInfoDirectory, host);
|
||||
const emitHost: EmitHost = {
|
||||
getPrependNodes: memoize(() => [...prependNodes, ownPrependInput]),
|
||||
getCanonicalFileName: host.getCanonicalFileName,
|
||||
getCommonSourceDirectory: () => buildInfo.bundle!.commonSourceDirectory,
|
||||
getCommonSourceDirectory: () => getNormalizedAbsolutePath(buildInfo.bundle!.commonSourceDirectory, buildInfoDirectory),
|
||||
getCompilerOptions: () => config.options,
|
||||
getCurrentDirectory: () => host.getCurrentDirectory(),
|
||||
getNewLine: () => host.getNewLine(),
|
||||
@@ -775,6 +796,7 @@ namespace ts {
|
||||
let write = writeBase;
|
||||
let isOwnFileEmit: boolean;
|
||||
const bundleFileInfo = printerOptions.writeBundleFileInfo ? { sections: [] } as BundleFileInfo : undefined;
|
||||
const relativeToBuildInfo = bundleFileInfo ? Debug.assertDefined(printerOptions.relativeToBuildInfo) : undefined;
|
||||
const recordInternalSection = printerOptions.recordInternalSection;
|
||||
let sourceFileTextPos = 0;
|
||||
let sourceFileTextKind: BundleFileTextLikeKind = BundleFileSectionKind.Text;
|
||||
@@ -943,7 +965,13 @@ namespace ts {
|
||||
if (prepend.oldFileOfCurrentEmit) bundleFileInfo.sections.push(...newSections);
|
||||
else {
|
||||
newSections.forEach(section => Debug.assert(isBundleFileTextLike(section)));
|
||||
bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: BundleFileSectionKind.Prepend, data: (prepend as UnparsedSource).fileName, texts: newSections as BundleFileTextLike[] });
|
||||
bundleFileInfo.sections.push({
|
||||
pos,
|
||||
end: writer.getTextPos(),
|
||||
kind: BundleFileSectionKind.Prepend,
|
||||
data: relativeToBuildInfo!((prepend as UnparsedSource).fileName),
|
||||
texts: newSections as BundleFileTextLike[]
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+26
-5
@@ -4430,14 +4430,18 @@ namespace ts {
|
||||
|
||||
if (token() !== SyntaxKind.CloseBraceToken) {
|
||||
node.dotDotDotToken = parseOptionalToken(SyntaxKind.DotDotDotToken);
|
||||
node.expression = parseAssignmentExpressionOrHigher();
|
||||
// Only an AssignmentExpression is valid here per the JSX spec,
|
||||
// but we can unambiguously parse a comma sequence and provide
|
||||
// a better error message in grammar checking.
|
||||
node.expression = parseExpression();
|
||||
}
|
||||
if (inExpressionContext) {
|
||||
parseExpected(SyntaxKind.CloseBraceToken);
|
||||
}
|
||||
else {
|
||||
parseExpected(SyntaxKind.CloseBraceToken, /*message*/ undefined, /*shouldAdvance*/ false);
|
||||
scanJsxText();
|
||||
if (parseExpected(SyntaxKind.CloseBraceToken, /*message*/ undefined, /*shouldAdvance*/ false)) {
|
||||
scanJsxText();
|
||||
}
|
||||
}
|
||||
|
||||
return finishNode(node);
|
||||
@@ -6427,6 +6431,7 @@ namespace ts {
|
||||
BeginningOfLine,
|
||||
SawAsterisk,
|
||||
SavingComments,
|
||||
SavingBackticks, // NOTE: Only used when parsing tag comments
|
||||
}
|
||||
|
||||
const enum PropertyLikeParse {
|
||||
@@ -6687,18 +6692,23 @@ namespace ts {
|
||||
case SyntaxKind.NewLineTrivia:
|
||||
if (state >= JSDocState.SawAsterisk) {
|
||||
state = JSDocState.BeginningOfLine;
|
||||
// don't use pushComment here because we want to keep the margin unchanged
|
||||
comments.push(scanner.getTokenText());
|
||||
}
|
||||
indent = 0;
|
||||
break;
|
||||
case SyntaxKind.AtToken:
|
||||
if (state === JSDocState.SavingBackticks) {
|
||||
comments.push(scanner.getTokenText());
|
||||
break;
|
||||
}
|
||||
scanner.setTextPos(scanner.getTextPos() - 1);
|
||||
// falls through
|
||||
case SyntaxKind.EndOfFileToken:
|
||||
// Done
|
||||
break loop;
|
||||
case SyntaxKind.WhitespaceTrivia:
|
||||
if (state === JSDocState.SavingComments) {
|
||||
if (state === JSDocState.SavingComments || state === JSDocState.SavingBackticks) {
|
||||
pushComment(scanner.getTokenText());
|
||||
}
|
||||
else {
|
||||
@@ -6720,6 +6730,15 @@ namespace ts {
|
||||
}
|
||||
pushComment(scanner.getTokenText());
|
||||
break;
|
||||
case SyntaxKind.BacktickToken:
|
||||
if (state === JSDocState.SavingBackticks) {
|
||||
state = JSDocState.SavingComments;
|
||||
}
|
||||
else {
|
||||
state = JSDocState.SavingBackticks;
|
||||
}
|
||||
pushComment(scanner.getTokenText());
|
||||
break;
|
||||
case SyntaxKind.AsteriskToken:
|
||||
if (state === JSDocState.BeginningOfLine) {
|
||||
// leading asterisks start recording on the *next* (non-whitespace) token
|
||||
@@ -6730,7 +6749,9 @@ namespace ts {
|
||||
// record the * as a comment
|
||||
// falls through
|
||||
default:
|
||||
state = JSDocState.SavingComments; // leading identifiers start recording as well
|
||||
if (state !== JSDocState.SavingBackticks) {
|
||||
state = JSDocState.SavingComments; // leading identifiers start recording as well
|
||||
}
|
||||
pushComment(scanner.getTokenText());
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -190,6 +190,10 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function createEmptyExports() {
|
||||
return createExportDeclaration(/*decorators*/ undefined, /*modifiers*/ undefined, createNamedExports([]), /*moduleSpecifier*/ undefined);
|
||||
}
|
||||
|
||||
function transformRoot(node: Bundle): Bundle;
|
||||
function transformRoot(node: SourceFile): SourceFile;
|
||||
function transformRoot(node: SourceFile | Bundle): SourceFile | Bundle;
|
||||
@@ -277,7 +281,7 @@ namespace ts {
|
||||
refs.forEach(referenceVisitor);
|
||||
const emittedImports = filter(combinedStatements, isAnyImportSyntax);
|
||||
if (isExternalModule(node) && (!resultHasExternalModuleIndicator || (needsScopeFixMarker && !resultHasScopeMarker))) {
|
||||
combinedStatements = setTextRange(createNodeArray([...combinedStatements, createExportDeclaration(/*decorators*/ undefined, /*modifiers*/ undefined, createNamedExports([]), /*moduleSpecifier*/ undefined)]), combinedStatements);
|
||||
combinedStatements = setTextRange(createNodeArray([...combinedStatements, createEmptyExports()]), combinedStatements);
|
||||
}
|
||||
const updated = updateSourceFileNode(node, combinedStatements, /*isDeclarationFile*/ true, references, getFileReferencesForUsedTypeReferences(), node.hasNoDefaultLib, getLibReferences());
|
||||
updated.exportedModulesFromDeclarationEmit = exportedModulesFromDeclarationEmit;
|
||||
@@ -670,7 +674,7 @@ namespace ts {
|
||||
}
|
||||
const priorNeedsDeclare = needsDeclare;
|
||||
needsDeclare = i.parent && isSourceFile(i.parent) && !(isExternalModule(i.parent) && isBundledEmit);
|
||||
const result = transformTopLevelDeclaration(i, /*privateDeclaration*/ true);
|
||||
const result = transformTopLevelDeclaration(i);
|
||||
needsDeclare = priorNeedsDeclare;
|
||||
lateStatementReplacementMap.set("" + getOriginalNodeId(i), result);
|
||||
}
|
||||
@@ -685,12 +689,12 @@ namespace ts {
|
||||
if (lateStatementReplacementMap.has(key)) {
|
||||
const result = lateStatementReplacementMap.get(key);
|
||||
lateStatementReplacementMap.delete(key);
|
||||
if (result && isSourceFile(statement.parent)) {
|
||||
if (result) {
|
||||
if (isArray(result) ? some(result, needsScopeMarker) : needsScopeMarker(result)) {
|
||||
// Top-level declarations in .d.ts files are always considered exported even without a modifier unless there's an export assignment or specifier
|
||||
needsScopeFixMarker = true;
|
||||
}
|
||||
if (isArray(result) ? some(result, isExternalModuleIndicator) : isExternalModuleIndicator(result)) {
|
||||
if (isSourceFile(statement.parent) && (isArray(result) ? some(result, isExternalModuleIndicator) : isExternalModuleIndicator(result))) {
|
||||
resultHasExternalModuleIndicator = true;
|
||||
}
|
||||
}
|
||||
@@ -939,8 +943,8 @@ namespace ts {
|
||||
case SyntaxKind.ExportDeclaration: {
|
||||
if (isSourceFile(input.parent)) {
|
||||
resultHasExternalModuleIndicator = true;
|
||||
resultHasScopeMarker = true;
|
||||
}
|
||||
resultHasScopeMarker = true;
|
||||
// Always visible if the parent node isn't dropped for being not visible
|
||||
// Rewrite external module names if necessary
|
||||
return updateExportDeclaration(input, /*decorators*/ undefined, input.modifiers, input.exportClause, rewriteModuleSpecifier(input, input.moduleSpecifier));
|
||||
@@ -949,8 +953,8 @@ namespace ts {
|
||||
// Always visible if the parent node isn't dropped for being not visible
|
||||
if (isSourceFile(input.parent)) {
|
||||
resultHasExternalModuleIndicator = true;
|
||||
resultHasScopeMarker = true;
|
||||
}
|
||||
resultHasScopeMarker = true;
|
||||
if (input.expression.kind === SyntaxKind.Identifier) {
|
||||
return input;
|
||||
}
|
||||
@@ -973,7 +977,19 @@ namespace ts {
|
||||
return input;
|
||||
}
|
||||
|
||||
function transformTopLevelDeclaration(input: LateVisibilityPaintedStatement, isPrivate?: boolean) {
|
||||
function stripExportModifiers(statement: Statement): Statement {
|
||||
if (isImportEqualsDeclaration(statement) || hasModifier(statement, ModifierFlags.Default)) {
|
||||
// `export import` statements should remain as-is, as imports are _not_ implicitly exported in an ambient namespace
|
||||
// Likewise, `export default` classes and the like and just be `default`, so we preserve their `export` modifiers, too
|
||||
return statement;
|
||||
}
|
||||
const clone = getMutableClone(statement);
|
||||
const modifiers = createModifiersFromModifierFlags(getModifierFlags(statement) & (ModifierFlags.All ^ ModifierFlags.Export));
|
||||
clone.modifiers = modifiers.length ? createNodeArray(modifiers) : undefined;
|
||||
return clone;
|
||||
}
|
||||
|
||||
function transformTopLevelDeclaration(input: LateVisibilityPaintedStatement) {
|
||||
if (shouldStripInternal(input)) return;
|
||||
switch (input.kind) {
|
||||
case SyntaxKind.ImportEqualsDeclaration: {
|
||||
@@ -1006,7 +1022,7 @@ namespace ts {
|
||||
return cleanup(updateTypeAliasDeclaration(
|
||||
input,
|
||||
/*decorators*/ undefined,
|
||||
ensureModifiers(input, isPrivate),
|
||||
ensureModifiers(input),
|
||||
input.name,
|
||||
visitNodes(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration),
|
||||
visitNode(input.type, visitDeclarationSubtree, isTypeNode)
|
||||
@@ -1015,7 +1031,7 @@ namespace ts {
|
||||
return cleanup(updateInterfaceDeclaration(
|
||||
input,
|
||||
/*decorators*/ undefined,
|
||||
ensureModifiers(input, isPrivate),
|
||||
ensureModifiers(input),
|
||||
input.name,
|
||||
ensureTypeParams(input, input.typeParameters),
|
||||
transformHeritageClauses(input.heritageClauses),
|
||||
@@ -1027,7 +1043,7 @@ namespace ts {
|
||||
const clean = cleanup(updateFunctionDeclaration(
|
||||
input,
|
||||
/*decorators*/ undefined,
|
||||
ensureModifiers(input, isPrivate),
|
||||
ensureModifiers(input),
|
||||
/*asteriskToken*/ undefined,
|
||||
input.name,
|
||||
ensureTypeParams(input, input.typeParameters),
|
||||
@@ -1052,7 +1068,7 @@ namespace ts {
|
||||
const varDecl = createVariableDeclaration(unescapeLeadingUnderscores(p.escapedName), type, /*initializer*/ undefined);
|
||||
return createVariableStatement(/*modifiers*/ undefined, createVariableDeclarationList([varDecl]));
|
||||
});
|
||||
const namespaceDecl = createModuleDeclaration(/*decorators*/ undefined, ensureModifiers(input, isPrivate), input.name!, createModuleBlock(declarations), NodeFlags.Namespace);
|
||||
const namespaceDecl = createModuleDeclaration(/*decorators*/ undefined, ensureModifiers(input), input.name!, createModuleBlock(declarations), NodeFlags.Namespace);
|
||||
|
||||
if (!hasModifier(clean, ModifierFlags.Default)) {
|
||||
return [clean, namespaceDecl];
|
||||
@@ -1086,7 +1102,9 @@ namespace ts {
|
||||
namespaceDecl.name
|
||||
);
|
||||
|
||||
resultHasExternalModuleIndicator = true;
|
||||
if (isSourceFile(input.parent)) {
|
||||
resultHasExternalModuleIndicator = true;
|
||||
}
|
||||
resultHasScopeMarker = true;
|
||||
|
||||
return [cleanDeclaration, namespaceDeclaration, exportDefaultDeclaration];
|
||||
@@ -1099,10 +1117,32 @@ namespace ts {
|
||||
needsDeclare = false;
|
||||
const inner = input.body;
|
||||
if (inner && inner.kind === SyntaxKind.ModuleBlock) {
|
||||
const oldNeedsScopeFix = needsScopeFixMarker;
|
||||
const oldHasScopeFix = resultHasScopeMarker;
|
||||
resultHasScopeMarker = false;
|
||||
needsScopeFixMarker = false;
|
||||
const statements = visitNodes(inner.statements, visitDeclarationStatements);
|
||||
const body = updateModuleBlock(inner, transformAndReplaceLatePaintedStatements(statements));
|
||||
let lateStatements = transformAndReplaceLatePaintedStatements(statements);
|
||||
if (input.flags & NodeFlags.Ambient) {
|
||||
needsScopeFixMarker = false; // If it was `declare`'d everything is implicitly exported already, ignore late printed "privates"
|
||||
}
|
||||
// With the final list of statements, there are 3 possibilities:
|
||||
// 1. There's an export assignment or export declaration in the namespace - do nothing
|
||||
// 2. Everything is exported and there are no export assignments or export declarations - strip all export modifiers
|
||||
// 3. Some things are exported, some are not, and there's no marker - add an empty marker
|
||||
if (!isGlobalScopeAugmentation(input) && !hasScopeMarker(lateStatements) && !resultHasScopeMarker) {
|
||||
if (needsScopeFixMarker) {
|
||||
lateStatements = createNodeArray([...lateStatements, createEmptyExports()]);
|
||||
}
|
||||
else {
|
||||
lateStatements = visitNodes(lateStatements, stripExportModifiers);
|
||||
}
|
||||
}
|
||||
const body = updateModuleBlock(inner, lateStatements);
|
||||
needsDeclare = previousNeedsDeclare;
|
||||
const mods = ensureModifiers(input, isPrivate);
|
||||
needsScopeFixMarker = oldNeedsScopeFix;
|
||||
resultHasScopeMarker = oldHasScopeFix;
|
||||
const mods = ensureModifiers(input);
|
||||
return cleanup(updateModuleDeclaration(
|
||||
input,
|
||||
/*decorators*/ undefined,
|
||||
@@ -1113,7 +1153,7 @@ namespace ts {
|
||||
}
|
||||
else {
|
||||
needsDeclare = previousNeedsDeclare;
|
||||
const mods = ensureModifiers(input, isPrivate);
|
||||
const mods = ensureModifiers(input);
|
||||
needsDeclare = false;
|
||||
visitNode(inner, visitDeclarationStatements);
|
||||
// eagerly transform nested namespaces (the nesting doesn't need any elision or painting done)
|
||||
@@ -1130,7 +1170,7 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
case SyntaxKind.ClassDeclaration: {
|
||||
const modifiers = createNodeArray(ensureModifiers(input, isPrivate));
|
||||
const modifiers = createNodeArray(ensureModifiers(input));
|
||||
const typeParameters = ensureTypeParams(input, input.typeParameters);
|
||||
const ctor = getFirstConstructorWithBody(input);
|
||||
let parameterProperties: ReadonlyArray<PropertyDeclaration> | undefined;
|
||||
@@ -1224,10 +1264,10 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
case SyntaxKind.VariableStatement: {
|
||||
return cleanup(transformVariableStatement(input, isPrivate));
|
||||
return cleanup(transformVariableStatement(input));
|
||||
}
|
||||
case SyntaxKind.EnumDeclaration: {
|
||||
return cleanup(updateEnumDeclaration(input, /*decorators*/ undefined, createNodeArray(ensureModifiers(input, isPrivate)), input.name, createNodeArray(mapDefined(input.members, m => {
|
||||
return cleanup(updateEnumDeclaration(input, /*decorators*/ undefined, createNodeArray(ensureModifiers(input)), input.name, createNodeArray(mapDefined(input.members, m => {
|
||||
if (shouldStripInternal(m)) return;
|
||||
// Rewrite enum values to their constants, if available
|
||||
const constValue = resolver.getConstantValue(m);
|
||||
@@ -1255,11 +1295,11 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function transformVariableStatement(input: VariableStatement, privateDeclaration?: boolean) {
|
||||
function transformVariableStatement(input: VariableStatement) {
|
||||
if (!forEach(input.declarationList.declarations, getBindingNameVisible)) return;
|
||||
const nodes = visitNodes(input.declarationList.declarations, visitDeclarationSubtree);
|
||||
if (!length(nodes)) return;
|
||||
return updateVariableStatement(input, createNodeArray(ensureModifiers(input, privateDeclaration)), updateVariableDeclarationList(input.declarationList, nodes));
|
||||
return updateVariableStatement(input, createNodeArray(ensureModifiers(input)), updateVariableDeclarationList(input.declarationList, nodes));
|
||||
}
|
||||
|
||||
function recreateBindingPattern(d: BindingPattern): VariableDeclaration[] {
|
||||
@@ -1306,28 +1346,25 @@ namespace ts {
|
||||
return isExportAssignment(node) || isExportDeclaration(node);
|
||||
}
|
||||
|
||||
function hasScopeMarker(node: Node) {
|
||||
if (isModuleBlock(node)) {
|
||||
return some(node.statements, isScopeMarker);
|
||||
}
|
||||
return false;
|
||||
function hasScopeMarker(statements: ReadonlyArray<Statement>) {
|
||||
return some(statements, isScopeMarker);
|
||||
}
|
||||
|
||||
function ensureModifiers(node: Node, privateDeclaration?: boolean): ReadonlyArray<Modifier> | undefined {
|
||||
function ensureModifiers(node: Node): ReadonlyArray<Modifier> | undefined {
|
||||
const currentFlags = getModifierFlags(node);
|
||||
const newFlags = ensureModifierFlags(node, privateDeclaration);
|
||||
const newFlags = ensureModifierFlags(node);
|
||||
if (currentFlags === newFlags) {
|
||||
return node.modifiers;
|
||||
}
|
||||
return createModifiersFromModifierFlags(newFlags);
|
||||
}
|
||||
|
||||
function ensureModifierFlags(node: Node, privateDeclaration?: boolean): ModifierFlags {
|
||||
function ensureModifierFlags(node: Node): ModifierFlags {
|
||||
let mask = ModifierFlags.All ^ (ModifierFlags.Public | ModifierFlags.Async); // No async modifiers in declaration files
|
||||
let additions = (needsDeclare && !isAlwaysType(node)) ? ModifierFlags.Ambient : ModifierFlags.None;
|
||||
const parentIsFile = node.parent.kind === SyntaxKind.SourceFile;
|
||||
if (!parentIsFile || (isBundledEmit && parentIsFile && isExternalModule(node.parent as SourceFile))) {
|
||||
mask ^= ((privateDeclaration || (isBundledEmit && parentIsFile) || hasScopeMarker(node.parent) ? 0 : ModifierFlags.Export) | ModifierFlags.Ambient);
|
||||
mask ^= ModifierFlags.Ambient;
|
||||
additions = ModifierFlags.None;
|
||||
}
|
||||
return maskModifierFlags(node, mask, additions);
|
||||
|
||||
@@ -1299,11 +1299,11 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function getOldProgram<T extends BuilderProgram>({ options, builderPrograms, readFileWithCache }: SolutionBuilderState<T>, proj: ResolvedConfigFilePath, parsed: ParsedCommandLine) {
|
||||
function getOldProgram<T extends BuilderProgram>({ options, builderPrograms, compilerHost }: SolutionBuilderState<T>, proj: ResolvedConfigFilePath, parsed: ParsedCommandLine) {
|
||||
if (options.force) return undefined;
|
||||
const value = builderPrograms.get(proj);
|
||||
if (value) return value;
|
||||
return readBuilderProgram(parsed.options, readFileWithCache) as any as T;
|
||||
return readBuilderProgram(parsed.options, compilerHost) as any as T;
|
||||
}
|
||||
|
||||
function afterProgramCreate<T extends BuilderProgram>({ host, watch, builderPrograms }: SolutionBuilderState<T>, proj: ResolvedConfigFilePath, program: T) {
|
||||
|
||||
@@ -5730,6 +5730,7 @@ namespace ts {
|
||||
/*@internal*/ writeBundleFileInfo?: boolean;
|
||||
/*@internal*/ recordInternalSection?: boolean;
|
||||
/*@internal*/ stripInternal?: boolean;
|
||||
/*@internal*/ relativeToBuildInfo?: (path: string) => string;
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
|
||||
+10
-5
@@ -437,16 +437,21 @@ namespace ts {
|
||||
}
|
||||
|
||||
namespace ts {
|
||||
export function readBuilderProgram(compilerOptions: CompilerOptions, readFile: (path: string) => string | undefined) {
|
||||
export interface ReadBuildProgramHost {
|
||||
useCaseSensitiveFileNames(): boolean;
|
||||
getCurrentDirectory(): string;
|
||||
readFile(fileName: string): string | undefined;
|
||||
}
|
||||
export function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost) {
|
||||
if (compilerOptions.out || compilerOptions.outFile) return undefined;
|
||||
const buildInfoPath = getOutputPathForBuildInfo(compilerOptions);
|
||||
if (!buildInfoPath) return undefined;
|
||||
const content = readFile(buildInfoPath);
|
||||
const content = host.readFile(buildInfoPath);
|
||||
if (!content) return undefined;
|
||||
const buildInfo = getBuildInfo(content);
|
||||
if (buildInfo.version !== version) return undefined;
|
||||
if (!buildInfo.program) return undefined;
|
||||
return createBuildProgramUsingProgramBuildInfo(buildInfo.program);
|
||||
return createBuildProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host);
|
||||
}
|
||||
|
||||
export function createIncrementalCompilerHost(options: CompilerOptions, system = sys): CompilerHost {
|
||||
@@ -471,7 +476,7 @@ namespace ts {
|
||||
}: IncrementalProgramOptions<T>): T {
|
||||
host = host || createIncrementalCompilerHost(options);
|
||||
createProgram = createProgram || createEmitAndSemanticDiagnosticsBuilderProgram as any as CreateProgram<T>;
|
||||
const oldProgram = readBuilderProgram(options, path => host!.readFile(path)) as any as T;
|
||||
const oldProgram = readBuilderProgram(options, host) as any as T;
|
||||
return createProgram(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectReferences);
|
||||
}
|
||||
|
||||
@@ -747,7 +752,7 @@ namespace ts {
|
||||
((typeDirectiveNames, containingFile, redirectedReference) => resolutionCache.resolveTypeReferenceDirectives(typeDirectiveNames, containingFile, redirectedReference));
|
||||
const userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;
|
||||
|
||||
builderProgram = readBuilderProgram(compilerOptions, path => compilerHost.readFile(path)) as any as T;
|
||||
builderProgram = readBuilderProgram(compilerOptions, compilerHost) as any as T;
|
||||
synchronizeProgram();
|
||||
|
||||
// Update the wild card directory watch
|
||||
|
||||
@@ -583,6 +583,21 @@ namespace FourSlash {
|
||||
});
|
||||
}
|
||||
|
||||
public verifyErrorExistsAtRange(range: Range, code: number, expectedMessage?: string) {
|
||||
const span = ts.createTextSpanFromRange(range);
|
||||
const hasMatchingError = ts.some(
|
||||
this.getDiagnostics(range.fileName),
|
||||
({ code, messageText, start, length }) =>
|
||||
code === code &&
|
||||
(!expectedMessage || expectedMessage === messageText) &&
|
||||
ts.isNumber(start) && ts.isNumber(length) &&
|
||||
ts.textSpansEqual(span, { start, length }));
|
||||
|
||||
if (!hasMatchingError) {
|
||||
this.raiseError(`No error with code ${code} found at provided range.`);
|
||||
}
|
||||
}
|
||||
|
||||
public verifyNumberOfErrorsInCurrentFile(expected: number) {
|
||||
const errors = this.getDiagnostics(this.activeFile.fileName);
|
||||
const actual = errors.length;
|
||||
@@ -4014,6 +4029,10 @@ namespace FourSlashInterface {
|
||||
this.state.verifyNoErrors();
|
||||
}
|
||||
|
||||
public errorExistsAtRange(range: FourSlash.Range, code: number, message?: string) {
|
||||
this.state.verifyErrorExistsAtRange(range, code, message);
|
||||
}
|
||||
|
||||
public numberOfErrorsInCurrentFile(expected: number) {
|
||||
this.state.verifyNumberOfErrorsInCurrentFile(expected);
|
||||
}
|
||||
|
||||
@@ -94,6 +94,8 @@ namespace ts.server.protocol {
|
||||
ApplyChangedToOpenFiles = "applyChangedToOpenFiles",
|
||||
UpdateOpen = "updateOpen",
|
||||
/* @internal */
|
||||
EncodedSyntacticClassificationsFull = "encodedSyntacticClassifications-full",
|
||||
/* @internal */
|
||||
EncodedSemanticClassificationsFull = "encodedSemanticClassifications-full",
|
||||
/* @internal */
|
||||
Cleanup = "cleanup",
|
||||
@@ -764,6 +766,29 @@ namespace ts.server.protocol {
|
||||
body?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* A request to get encoded Syntactic classifications for a span in the file
|
||||
*/
|
||||
/** @internal */
|
||||
export interface EncodedSyntacticClassificationsRequest extends FileRequest {
|
||||
arguments: EncodedSyntacticClassificationsRequestArgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Arguments for EncodedSyntacticClassificationsRequest request.
|
||||
*/
|
||||
/** @internal */
|
||||
export interface EncodedSyntacticClassificationsRequestArgs extends FileRequestArgs {
|
||||
/**
|
||||
* Start position of the span.
|
||||
*/
|
||||
start: number;
|
||||
/**
|
||||
* Length of the span.
|
||||
*/
|
||||
length: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* A request to get encoded semantic classifications for a span in the file
|
||||
*/
|
||||
@@ -775,6 +800,7 @@ namespace ts.server.protocol {
|
||||
/**
|
||||
* Arguments for EncodedSemanticClassificationsRequest request.
|
||||
*/
|
||||
/** @internal */
|
||||
export interface EncodedSemanticClassificationsRequestArgs extends FileRequestArgs {
|
||||
/**
|
||||
* Start position of the span.
|
||||
|
||||
@@ -881,6 +881,11 @@ namespace ts.server {
|
||||
}
|
||||
}
|
||||
|
||||
private getEncodedSyntacticClassifications(args: protocol.EncodedSyntacticClassificationsRequestArgs) {
|
||||
const { file, languageService } = this.getFileAndLanguageServiceForSyntacticOperation(args);
|
||||
return languageService.getEncodedSyntacticClassifications(file, args);
|
||||
}
|
||||
|
||||
private getEncodedSemanticClassifications(args: protocol.EncodedSemanticClassificationsRequestArgs) {
|
||||
const { file, project } = this.getFileAndProject(args);
|
||||
return project.getLanguageService().getEncodedSemanticClassifications(file, args);
|
||||
@@ -2299,6 +2304,9 @@ namespace ts.server {
|
||||
[CommandNames.CompilerOptionsDiagnosticsFull]: (request: protocol.CompilerOptionsDiagnosticsRequest) => {
|
||||
return this.requiredResponse(this.getCompilerOptionsDiagnostics(request.arguments));
|
||||
},
|
||||
[CommandNames.EncodedSyntacticClassificationsFull]: (request: protocol.EncodedSyntacticClassificationsRequest) => {
|
||||
return this.requiredResponse(this.getEncodedSyntacticClassifications(request.arguments));
|
||||
},
|
||||
[CommandNames.EncodedSemanticClassificationsFull]: (request: protocol.EncodedSemanticClassificationsRequest) => {
|
||||
return this.requiredResponse(this.getEncodedSemanticClassifications(request.arguments));
|
||||
},
|
||||
|
||||
@@ -229,6 +229,7 @@ namespace ts.formatting {
|
||||
|
||||
rule("NoSpaceBeforeNonNullAssertionOperator", anyToken, SyntaxKind.ExclamationToken, [isNonJsxSameLineTokenContext, isNonNullAssertionContext], RuleAction.Delete),
|
||||
rule("NoSpaceAfterNewKeywordOnConstructorSignature", SyntaxKind.NewKeyword, SyntaxKind.OpenParenToken, [isNonJsxSameLineTokenContext, isConstructorSignatureContext], RuleAction.Delete),
|
||||
rule("SpaceLessThanAndNonJSXTypeAnnotation", SyntaxKind.LessThanToken, SyntaxKind.LessThanToken, [isNonJsxSameLineTokenContext], RuleAction.Space),
|
||||
];
|
||||
|
||||
// These rules are applied after high priority
|
||||
@@ -349,6 +350,18 @@ namespace ts.formatting {
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* A rule takes a two tokens (left/right) and a particular context
|
||||
* for which you're meant to look at them. You then declare what should the
|
||||
* whitespace annotation be between these tokens via the action param.
|
||||
*
|
||||
* @param debugName Name to print
|
||||
* @param left The left side of the comparison
|
||||
* @param right The right side of the comparison
|
||||
* @param context A set of filters to narrow down the space in which this formatter rule applies
|
||||
* @param action a declaration of the expected whitespace
|
||||
* @param flags whether the rule deletes a line or not, defaults to no-op
|
||||
*/
|
||||
function rule(
|
||||
debugName: string,
|
||||
left: SyntaxKind | ReadonlyArray<SyntaxKind> | TokenRange,
|
||||
|
||||
@@ -157,7 +157,15 @@ ${sanitizeDockerfileOutput(result.stderr.toString())}`;
|
||||
}
|
||||
|
||||
function sanitizeDockerfileOutput(result: string): string {
|
||||
return stripAbsoluteImportPaths(sanitizeTimestamps(stripRushStageNumbers(stripANSIEscapes(normalizeNewlines(result)))));
|
||||
return [
|
||||
normalizeNewlines,
|
||||
stripANSIEscapes,
|
||||
stripRushStageNumbers,
|
||||
sanitizeVersionSpecifiers,
|
||||
sanitizeTimestamps,
|
||||
sanitizeUnimportantGulpOutput,
|
||||
stripAbsoluteImportPaths,
|
||||
].reduce((result, f) => f(result), result);
|
||||
}
|
||||
|
||||
function normalizeNewlines(result: string): string {
|
||||
@@ -172,14 +180,29 @@ function stripRushStageNumbers(result: string): string {
|
||||
return result.replace(/\d+ of \d+:/g, "XX of XX:");
|
||||
}
|
||||
|
||||
function sanitizeTimestamps(result: string): string {
|
||||
return result.replace(/\[\d?\d:\d\d:\d\d (A|P)M\]/g, "[XX:XX:XX XM]")
|
||||
.replace(/\d+(\.\d+)? seconds?/g, "? seconds")
|
||||
.replace(/\d+(\.\d+)? minutes?/g, "")
|
||||
.replace(/\d+(\.\d+)?s/g, "?s")
|
||||
.replace(/\d+.\d+.\d+-insiders.\d\d\d\d\d\d\d\d/g, "X.X.X-insiders.xxxxxxxx");
|
||||
/**
|
||||
* Gulp's output order within a `parallel` block is nondeterministic (and there's no way to configure it to execute in series),
|
||||
* so we purge as much of the gulp output as we can
|
||||
*/
|
||||
function sanitizeUnimportantGulpOutput(result: string): string {
|
||||
return result.replace(/^.*(\] (Starting)|(Finished)).*$/gm, "") // task start/end messages (nondeterministic order)
|
||||
.replace(/^.*\] Respawned to PID: \d+.*$/gm, "") // PID of child is OS and system-load dependent (likely stableish in a container but still dangerous)
|
||||
.replace(/\n+/g, "\n");
|
||||
}
|
||||
|
||||
function sanitizeTimestamps(result: string): string {
|
||||
return result.replace(/\[\d?\d:\d\d:\d\d (A|P)M\]/g, "[XX:XX:XX XM]")
|
||||
.replace(/\[\d?\d:\d\d:\d\d\]/g, "[XX:XX:XX]")
|
||||
.replace(/\d+(\.\d+)? sec(onds?)?/g, "? seconds")
|
||||
.replace(/\d+(\.\d+)? min(utes?)?/g, "")
|
||||
.replace(/\d+(\.\d+)?( m)?s/g, "?s");
|
||||
}
|
||||
|
||||
function sanitizeVersionSpecifiers(result: string): string {
|
||||
return result
|
||||
.replace(/\d+.\d+.\d+-insiders.\d\d\d\d\d\d\d\d/g, "X.X.X-insiders.xxxxxxxx")
|
||||
.replace(/([@v])\d+\.\d+\.\d+/g, "$1X.X.X");
|
||||
}
|
||||
|
||||
/**
|
||||
* Import types and some other error messages use absolute paths in errors as they have no context to be written relative to;
|
||||
|
||||
@@ -129,6 +129,14 @@ namespace ts.tscWatch {
|
||||
signature: Harness.mockHash(libFile.content)
|
||||
};
|
||||
|
||||
const getCanonicalFileName = createGetCanonicalFileName(/*useCaseSensitiveFileNames*/ false);
|
||||
function relativeToBuildInfo(buildInfoPath: string, path: string) {
|
||||
return getRelativePathFromFile(buildInfoPath, path, getCanonicalFileName);
|
||||
}
|
||||
|
||||
const buildInfoPath = `${project}/tsconfig.tsbuildinfo`;
|
||||
const [libFilePath, file1Path, file2Path] = [libFile.path, `${project}/file1.ts`, `${project}/file2.ts`].map(path => relativeToBuildInfo(buildInfoPath, path));
|
||||
|
||||
describe("non module compilation", () => {
|
||||
function getFileInfo(content: string): BuilderState.FileInfo {
|
||||
return { version: Harness.mockHash(content), signature: Harness.mockHash(`declare ${content}\n`) };
|
||||
@@ -150,7 +158,6 @@ namespace ts.tscWatch {
|
||||
path: `${project}/file2.js`,
|
||||
content: "var y = 20;\n"
|
||||
};
|
||||
|
||||
describe("own file emit without errors", () => {
|
||||
const modifiedFile2Content = file2.content.replace("y", "z").replace("20", "10");
|
||||
verifyIncrementalWatchEmit({
|
||||
@@ -163,14 +170,17 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(file1.content),
|
||||
[file2.path]: getFileInfo(file2.content)
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(file1.content),
|
||||
[file2Path]: getFileInfo(file2.content)
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [libFile.path, file1.path, file2.path]
|
||||
semanticDiagnosticsPerFile: [libFilePath, file1Path, file2Path]
|
||||
},
|
||||
version
|
||||
})
|
||||
@@ -186,14 +196,17 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(file1.content),
|
||||
[file2.path]: getFileInfo(modifiedFile2Content)
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(file1.content),
|
||||
[file2Path]: getFileInfo(modifiedFile2Content)
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [libFile.path, file1.path, file2.path]
|
||||
semanticDiagnosticsPerFile: [libFilePath, file1Path, file2Path]
|
||||
},
|
||||
version
|
||||
})
|
||||
@@ -213,16 +226,16 @@ namespace ts.tscWatch {
|
||||
signature: Harness.mockHash("declare const y: string;\n")
|
||||
};
|
||||
const file2ReuasableError: ProgramBuildInfoDiagnostic = [
|
||||
file2.path, [
|
||||
file2Path, [
|
||||
{
|
||||
file: file2.path,
|
||||
file: file2Path,
|
||||
start: 6,
|
||||
length: 1,
|
||||
code: Diagnostics.Type_0_is_not_assignable_to_type_1.code,
|
||||
category: Diagnostics.Type_0_is_not_assignable_to_type_1.category,
|
||||
messageText: "Type '20' is not assignable to type 'string'."
|
||||
}
|
||||
] as ReusableDiagnostic[]
|
||||
]
|
||||
];
|
||||
const file2Errors = [
|
||||
"file2.ts(1,7): error TS2322: Type '20' is not assignable to type 'string'.\n"
|
||||
@@ -238,16 +251,19 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(file1.content),
|
||||
[file2.path]: file2FileInfo
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(file1.content),
|
||||
[file2Path]: file2FileInfo
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [
|
||||
libFile.path,
|
||||
file1.path,
|
||||
libFilePath,
|
||||
file1Path,
|
||||
file2ReuasableError
|
||||
]
|
||||
},
|
||||
@@ -265,16 +281,19 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(modifiedFile1Content),
|
||||
[file2.path]: file2FileInfo
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(modifiedFile1Content),
|
||||
[file2Path]: file2FileInfo
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [
|
||||
libFile.path,
|
||||
file1.path,
|
||||
libFilePath,
|
||||
file1Path,
|
||||
file2ReuasableError
|
||||
]
|
||||
},
|
||||
@@ -303,8 +322,8 @@ namespace ts.tscWatch {
|
||||
path: `${project}/out.tsbuildinfo`,
|
||||
content: getBuildInfoText({
|
||||
bundle: {
|
||||
commonSourceDirectory: `${project}/`,
|
||||
sourceFiles: [file1.path, file2.path],
|
||||
commonSourceDirectory: relativeToBuildInfo(`${project}/out.tsbuildinfo`, `${project}/`),
|
||||
sourceFiles: [file1Path, file2Path],
|
||||
js: {
|
||||
sections: [
|
||||
{ pos: 0, end: outFile.content.length, kind: BundleFileSectionKind.Text }
|
||||
@@ -369,14 +388,18 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(file1.content),
|
||||
[file2.path]: getFileInfo(file2.content)
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(file1.content),
|
||||
[file2Path]: getFileInfo(file2.content)
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
module: ModuleKind.AMD,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, module: ModuleKind.AMD, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [libFile.path, file1.path, file2.path]
|
||||
semanticDiagnosticsPerFile: [libFilePath, file1Path, file2Path]
|
||||
},
|
||||
version
|
||||
})
|
||||
@@ -391,14 +414,18 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(file1.content),
|
||||
[file2.path]: getFileInfo(modifiedFile2Content)
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(file1.content),
|
||||
[file2Path]: getFileInfo(modifiedFile2Content)
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
module: ModuleKind.AMD,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, module: ModuleKind.AMD, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [libFile.path, file1.path, file2.path]
|
||||
semanticDiagnosticsPerFile: [libFilePath, file1Path, file2Path]
|
||||
},
|
||||
version
|
||||
})
|
||||
@@ -418,16 +445,16 @@ namespace ts.tscWatch {
|
||||
signature: Harness.mockHash("export declare const y: string;\n")
|
||||
};
|
||||
const file2ReuasableError: ProgramBuildInfoDiagnostic = [
|
||||
file2.path, [
|
||||
file2Path, [
|
||||
{
|
||||
file: file2.path,
|
||||
file: file2Path,
|
||||
start: 13,
|
||||
length: 1,
|
||||
code: Diagnostics.Type_0_is_not_assignable_to_type_1.code,
|
||||
category: Diagnostics.Type_0_is_not_assignable_to_type_1.category,
|
||||
messageText: "Type '20' is not assignable to type 'string'."
|
||||
}
|
||||
] as ReusableDiagnostic[]
|
||||
]
|
||||
];
|
||||
const file2Errors = [
|
||||
"file2.ts(1,14): error TS2322: Type '20' is not assignable to type 'string'.\n"
|
||||
@@ -443,16 +470,20 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(file1.content),
|
||||
[file2.path]: file2FileInfo
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(file1.content),
|
||||
[file2Path]: file2FileInfo
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
module: ModuleKind.AMD,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, module: ModuleKind.AMD, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [
|
||||
libFile.path,
|
||||
file1.path,
|
||||
libFilePath,
|
||||
file1Path,
|
||||
file2ReuasableError
|
||||
]
|
||||
},
|
||||
@@ -469,17 +500,21 @@ namespace ts.tscWatch {
|
||||
content: getBuildInfoText({
|
||||
program: {
|
||||
fileInfos: {
|
||||
[libFile.path]: libFileInfo,
|
||||
[file1.path]: getFileInfo(modifiedFile1Content),
|
||||
[file2.path]: file2FileInfo
|
||||
[libFilePath]: libFileInfo,
|
||||
[file1Path]: getFileInfo(modifiedFile1Content),
|
||||
[file2Path]: file2FileInfo
|
||||
},
|
||||
options: {
|
||||
incremental: true,
|
||||
module: ModuleKind.AMD,
|
||||
configFilePath: "./tsconfig.json"
|
||||
},
|
||||
options: { incremental: true, module: ModuleKind.AMD, configFilePath: configFile.path },
|
||||
referencedMap: {},
|
||||
exportedModulesMap: {},
|
||||
semanticDiagnosticsPerFile: [
|
||||
libFile.path,
|
||||
libFilePath,
|
||||
file2ReuasableError,
|
||||
file1.path
|
||||
file1Path
|
||||
]
|
||||
},
|
||||
version
|
||||
@@ -515,8 +550,8 @@ namespace ts.tscWatch {
|
||||
path: `${project}/out.tsbuildinfo`,
|
||||
content: getBuildInfoText({
|
||||
bundle: {
|
||||
commonSourceDirectory: `${project}/`,
|
||||
sourceFiles: [file1.path, file2.path],
|
||||
commonSourceDirectory: relativeToBuildInfo(`${project}/out.tsbuildinfo`, `${project}/`),
|
||||
sourceFiles: [file1Path, file2Path],
|
||||
js: {
|
||||
sections: [
|
||||
{ pos: 0, end: outFile.content.length, kind: BundleFileSectionKind.Text }
|
||||
|
||||
@@ -16,4 +16,5 @@ declare module M {
|
||||
module N {
|
||||
}
|
||||
export import X = N;
|
||||
export {};
|
||||
}
|
||||
@@ -31,4 +31,5 @@ declare module M {
|
||||
}
|
||||
import R = N;
|
||||
export import X = R;
|
||||
export {};
|
||||
}
|
||||
+7
-14
@@ -4451,7 +4451,12 @@ declare namespace ts {
|
||||
function createAbstractBuilder(rootNames: ReadonlyArray<string> | undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram, configFileParsingDiagnostics?: ReadonlyArray<Diagnostic>, projectReferences?: ReadonlyArray<ProjectReference>): BuilderProgram;
|
||||
}
|
||||
declare namespace ts {
|
||||
function readBuilderProgram(compilerOptions: CompilerOptions, readFile: (path: string) => string | undefined): EmitAndSemanticDiagnosticsBuilderProgram | undefined;
|
||||
interface ReadBuildProgramHost {
|
||||
useCaseSensitiveFileNames(): boolean;
|
||||
getCurrentDirectory(): string;
|
||||
readFile(fileName: string): string | undefined;
|
||||
}
|
||||
function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram | undefined;
|
||||
function createIncrementalCompilerHost(options: CompilerOptions, system?: System): CompilerHost;
|
||||
interface IncrementalProgramOptions<T extends BuilderProgram> {
|
||||
rootNames: ReadonlyArray<string>;
|
||||
@@ -6415,19 +6420,6 @@ declare namespace ts.server.protocol {
|
||||
*/
|
||||
body?: string[];
|
||||
}
|
||||
/**
|
||||
* Arguments for EncodedSemanticClassificationsRequest request.
|
||||
*/
|
||||
interface EncodedSemanticClassificationsRequestArgs extends FileRequestArgs {
|
||||
/**
|
||||
* Start position of the span.
|
||||
*/
|
||||
start: number;
|
||||
/**
|
||||
* Length of the span.
|
||||
*/
|
||||
length: number;
|
||||
}
|
||||
/**
|
||||
* Arguments in document highlight request; include: filesToSearch, file,
|
||||
* line, offset.
|
||||
@@ -9076,6 +9068,7 @@ declare namespace ts.server {
|
||||
private updateErrorCheck;
|
||||
private cleanProjects;
|
||||
private cleanup;
|
||||
private getEncodedSyntacticClassifications;
|
||||
private getEncodedSemanticClassifications;
|
||||
private getProject;
|
||||
private getConfigFileAndProject;
|
||||
|
||||
+6
-1
@@ -4451,7 +4451,12 @@ declare namespace ts {
|
||||
function createAbstractBuilder(rootNames: ReadonlyArray<string> | undefined, options: CompilerOptions | undefined, host?: CompilerHost, oldProgram?: BuilderProgram, configFileParsingDiagnostics?: ReadonlyArray<Diagnostic>, projectReferences?: ReadonlyArray<ProjectReference>): BuilderProgram;
|
||||
}
|
||||
declare namespace ts {
|
||||
function readBuilderProgram(compilerOptions: CompilerOptions, readFile: (path: string) => string | undefined): EmitAndSemanticDiagnosticsBuilderProgram | undefined;
|
||||
interface ReadBuildProgramHost {
|
||||
useCaseSensitiveFileNames(): boolean;
|
||||
getCurrentDirectory(): string;
|
||||
readFile(fileName: string): string | undefined;
|
||||
}
|
||||
function readBuilderProgram(compilerOptions: CompilerOptions, host: ReadBuildProgramHost): EmitAndSemanticDiagnosticsBuilderProgram | undefined;
|
||||
function createIncrementalCompilerHost(options: CompilerOptions, system?: System): CompilerHost;
|
||||
interface IncrementalProgramOptions<T extends BuilderProgram> {
|
||||
rootNames: ReadonlyArray<string>;
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
//// [tests/cases/conformance/expressions/typeAssertions/constAssertionOnEnum.ts] ////
|
||||
|
||||
//// [enum.ts]
|
||||
export enum Foo {
|
||||
A,
|
||||
B,
|
||||
}
|
||||
|
||||
//// [test.ts]
|
||||
import {Foo} from './enum';
|
||||
|
||||
enum Bar {
|
||||
A,
|
||||
B,
|
||||
}
|
||||
let foo = Foo.A as const;
|
||||
let bar = Bar.A as const;
|
||||
|
||||
//// [enum.js]
|
||||
export var Foo;
|
||||
(function (Foo) {
|
||||
Foo[Foo["A"] = 0] = "A";
|
||||
Foo[Foo["B"] = 1] = "B";
|
||||
})(Foo || (Foo = {}));
|
||||
//// [test.js]
|
||||
import { Foo } from './enum';
|
||||
var Bar;
|
||||
(function (Bar) {
|
||||
Bar[Bar["A"] = 0] = "A";
|
||||
Bar[Bar["B"] = 1] = "B";
|
||||
})(Bar || (Bar = {}));
|
||||
let foo = Foo.A;
|
||||
let bar = Bar.A;
|
||||
@@ -0,0 +1,36 @@
|
||||
=== tests/cases/conformance/expressions/typeAssertions/enum.ts ===
|
||||
export enum Foo {
|
||||
>Foo : Symbol(Foo, Decl(enum.ts, 0, 0))
|
||||
|
||||
A,
|
||||
>A : Symbol(Foo.A, Decl(enum.ts, 0, 17))
|
||||
|
||||
B,
|
||||
>B : Symbol(Foo.B, Decl(enum.ts, 1, 6))
|
||||
}
|
||||
|
||||
=== tests/cases/conformance/expressions/typeAssertions/test.ts ===
|
||||
import {Foo} from './enum';
|
||||
>Foo : Symbol(Foo, Decl(test.ts, 0, 8))
|
||||
|
||||
enum Bar {
|
||||
>Bar : Symbol(Bar, Decl(test.ts, 0, 27))
|
||||
|
||||
A,
|
||||
>A : Symbol(Bar.A, Decl(test.ts, 2, 10))
|
||||
|
||||
B,
|
||||
>B : Symbol(Bar.B, Decl(test.ts, 3, 6))
|
||||
}
|
||||
let foo = Foo.A as const;
|
||||
>foo : Symbol(foo, Decl(test.ts, 6, 3))
|
||||
>Foo.A : Symbol(Foo.A, Decl(enum.ts, 0, 17))
|
||||
>Foo : Symbol(Foo, Decl(test.ts, 0, 8))
|
||||
>A : Symbol(Foo.A, Decl(enum.ts, 0, 17))
|
||||
|
||||
let bar = Bar.A as const;
|
||||
>bar : Symbol(bar, Decl(test.ts, 7, 3))
|
||||
>Bar.A : Symbol(Bar.A, Decl(test.ts, 2, 10))
|
||||
>Bar : Symbol(Bar, Decl(test.ts, 0, 27))
|
||||
>A : Symbol(Bar.A, Decl(test.ts, 2, 10))
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
=== tests/cases/conformance/expressions/typeAssertions/enum.ts ===
|
||||
export enum Foo {
|
||||
>Foo : Foo
|
||||
|
||||
A,
|
||||
>A : Foo.A
|
||||
|
||||
B,
|
||||
>B : Foo.B
|
||||
}
|
||||
|
||||
=== tests/cases/conformance/expressions/typeAssertions/test.ts ===
|
||||
import {Foo} from './enum';
|
||||
>Foo : typeof Foo
|
||||
|
||||
enum Bar {
|
||||
>Bar : Bar
|
||||
|
||||
A,
|
||||
>A : Bar.A
|
||||
|
||||
B,
|
||||
>B : Bar.B
|
||||
}
|
||||
let foo = Foo.A as const;
|
||||
>foo : Foo.A
|
||||
>Foo.A as const : Foo.A
|
||||
>Foo.A : Foo.A
|
||||
>Foo : typeof Foo
|
||||
>A : Foo.A
|
||||
|
||||
let bar = Bar.A as const;
|
||||
>bar : Bar.A
|
||||
>Bar.A as const : Bar.A
|
||||
>Bar.A : Bar.A
|
||||
>Bar : typeof Bar
|
||||
>A : Bar.A
|
||||
|
||||
@@ -264,13 +264,13 @@ var m;
|
||||
declare module m {
|
||||
class private1 {
|
||||
}
|
||||
class public1 {
|
||||
export class public1 {
|
||||
}
|
||||
module m2 {
|
||||
class public2 {
|
||||
}
|
||||
}
|
||||
class c {
|
||||
export class c {
|
||||
readonly foo1: private1;
|
||||
readonly foo2: private1;
|
||||
foo3: private1;
|
||||
@@ -287,4 +287,5 @@ declare module m {
|
||||
foo114: m2.public2;
|
||||
foo115: m2.public2;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
+8
-7
@@ -111,16 +111,17 @@ var m;
|
||||
declare module m {
|
||||
class private1 {
|
||||
}
|
||||
class public1 {
|
||||
export class public1 {
|
||||
}
|
||||
function foo3(param: private1): void;
|
||||
function foo4(param?: private1): void;
|
||||
function foo13(param: public1): void;
|
||||
function foo14(param?: public1): void;
|
||||
export function foo3(param: private1): void;
|
||||
export function foo4(param?: private1): void;
|
||||
export function foo13(param: public1): void;
|
||||
export function foo14(param?: public1): void;
|
||||
module m2 {
|
||||
class public2 {
|
||||
}
|
||||
}
|
||||
function foo113(param: m2.public2): void;
|
||||
function foo114(param?: m2.public2): void;
|
||||
export function foo113(param: m2.public2): void;
|
||||
export function foo114(param?: m2.public2): void;
|
||||
export {};
|
||||
}
|
||||
+8
-7
@@ -129,16 +129,17 @@ var m;
|
||||
declare module m {
|
||||
class private1 {
|
||||
}
|
||||
class public1 {
|
||||
export class public1 {
|
||||
}
|
||||
function foo3(): private1;
|
||||
function foo4(): private1;
|
||||
function foo13(): public1;
|
||||
function foo14(): public1;
|
||||
export function foo3(): private1;
|
||||
export function foo4(): private1;
|
||||
export function foo13(): public1;
|
||||
export function foo14(): public1;
|
||||
module m2 {
|
||||
class public2 {
|
||||
}
|
||||
}
|
||||
function foo113(): m2.public2;
|
||||
function foo114(): m2.public2;
|
||||
export function foo113(): m2.public2;
|
||||
export function foo114(): m2.public2;
|
||||
export {};
|
||||
}
|
||||
@@ -95,11 +95,12 @@ interface Window {
|
||||
}
|
||||
declare module M {
|
||||
type W = Window | string;
|
||||
module N {
|
||||
export module N {
|
||||
class Window {
|
||||
}
|
||||
var p: W;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module M1 {
|
||||
type W = Window | string;
|
||||
@@ -118,7 +119,8 @@ declare module M2 {
|
||||
class public1 {
|
||||
}
|
||||
}
|
||||
type t2 = private1;
|
||||
type t12 = public1;
|
||||
type t112 = m3.public1;
|
||||
export type t2 = private1;
|
||||
export type t12 = public1;
|
||||
export type t112 = m3.public1;
|
||||
export {};
|
||||
}
|
||||
@@ -71,7 +71,7 @@ declare module m {
|
||||
class public1 {
|
||||
}
|
||||
}
|
||||
var x: {
|
||||
export var x: {
|
||||
x: private1;
|
||||
y: m2.public1;
|
||||
(): m2.public1[];
|
||||
@@ -79,12 +79,12 @@ declare module m {
|
||||
[n: number]: private1;
|
||||
[s: string]: m2.public1;
|
||||
};
|
||||
var x2: {
|
||||
export var x2: {
|
||||
x: private1;
|
||||
y: m2.public1;
|
||||
method(): private1;
|
||||
};
|
||||
var x3: {
|
||||
export var x3: {
|
||||
(): m2.public1[];
|
||||
[s: string]: m2.public1;
|
||||
[n: number]: private1;
|
||||
@@ -92,8 +92,9 @@ declare module m {
|
||||
y: m2.public1;
|
||||
method(): private1;
|
||||
};
|
||||
var y: (a: private1) => m2.public1;
|
||||
var y2: (a: private1) => m2.public1;
|
||||
var z: new (a: private1) => m2.public1;
|
||||
var z2: new (a: private1) => m2.public1;
|
||||
export var y: (a: private1) => m2.public1;
|
||||
export var y2: (a: private1) => m2.public1;
|
||||
export var z: new (a: private1) => m2.public1;
|
||||
export var z2: new (a: private1) => m2.public1;
|
||||
export {};
|
||||
}
|
||||
+8
-7
@@ -72,16 +72,17 @@ var m;
|
||||
declare module m {
|
||||
class private1 {
|
||||
}
|
||||
class public1 {
|
||||
export class public1 {
|
||||
}
|
||||
var k: private1;
|
||||
var l: private1;
|
||||
var k2: public1;
|
||||
var l2: public1;
|
||||
export var k: private1;
|
||||
export var l: private1;
|
||||
export var k2: public1;
|
||||
export var l2: public1;
|
||||
module m2 {
|
||||
class public2 {
|
||||
}
|
||||
}
|
||||
var k3: m2.public2;
|
||||
var l3: m2.public2;
|
||||
export var k3: m2.public2;
|
||||
export var l3: m2.public2;
|
||||
export {};
|
||||
}
|
||||
@@ -54,13 +54,13 @@ var M;
|
||||
declare module M {
|
||||
class C {
|
||||
}
|
||||
class E {
|
||||
export class E {
|
||||
}
|
||||
interface I1 {
|
||||
export interface I1 {
|
||||
}
|
||||
interface I2 {
|
||||
}
|
||||
class D {
|
||||
export class D {
|
||||
private c;
|
||||
m1: number;
|
||||
m2: string;
|
||||
@@ -75,4 +75,5 @@ declare module M {
|
||||
m262(i: I2): void;
|
||||
m3(): C;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
@@ -22,5 +22,6 @@ var m;
|
||||
declare module m {
|
||||
class c {
|
||||
}
|
||||
var x: number, y: c, z: number;
|
||||
export var x: number, y: c, z: number;
|
||||
export {};
|
||||
}
|
||||
@@ -59,12 +59,13 @@ var Test;
|
||||
|
||||
//// [declarationEmitExpressionInExtends5.d.ts]
|
||||
declare namespace Test {
|
||||
interface IFace {
|
||||
export interface IFace {
|
||||
}
|
||||
class SomeClass implements IFace {
|
||||
export class SomeClass implements IFace {
|
||||
}
|
||||
const Derived_base: new () => IFace;
|
||||
class Derived extends Derived_base {
|
||||
export class Derived extends Derived_base {
|
||||
}
|
||||
function getClass<T>(): new () => T;
|
||||
export function getClass<T>(): new () => T;
|
||||
export {};
|
||||
}
|
||||
@@ -21,7 +21,8 @@ var foo;
|
||||
//// [declarationFunctionTypeNonlocalShouldNotBeAnError.d.ts]
|
||||
declare namespace foo {
|
||||
function bar(): void;
|
||||
const obj: {
|
||||
export const obj: {
|
||||
bar: typeof bar;
|
||||
};
|
||||
export {};
|
||||
}
|
||||
@@ -1,14 +1,9 @@
|
||||
Exit Code: 1
|
||||
Standard output:
|
||||
|
||||
|
||||
Rush Multi-Project Build Tool 5.7.3 - https://rushjs.io
|
||||
|
||||
|
||||
Starting "rush rebuild"
|
||||
|
||||
Executing a maximum of 1 simultaneous processes...
|
||||
|
||||
[@azure/cosmos] started
|
||||
XX of XX: [@azure/cosmos] completed successfully in ? seconds
|
||||
[@azure/service-bus] started
|
||||
@@ -25,6 +20,8 @@ XX of XX: [@azure/storage-queue] completed successfully in ? seconds
|
||||
XX of XX: [@azure/template] completed successfully in ? seconds
|
||||
[@azure/abort-controller] started
|
||||
XX of XX: [@azure/abort-controller] completed successfully in ? seconds
|
||||
[@azure/core-asynciterator-polyfill] started
|
||||
XX of XX: [@azure/core-asynciterator-polyfill] completed successfully in ? seconds
|
||||
[@azure/core-http] started
|
||||
XX of XX: [@azure/core-http] completed successfully in ? seconds
|
||||
[@azure/core-paging] started
|
||||
@@ -42,10 +39,10 @@ XX of XX: [@azure/keyvault-keys] completed successfully in ? seconds
|
||||
[@azure/keyvault-secrets] started
|
||||
XX of XX: [@azure/keyvault-secrets] completed successfully in ? seconds
|
||||
[@azure/core-amqp] started
|
||||
|
||||
SUCCESS (15)
|
||||
SUCCESS (16)
|
||||
================================
|
||||
@azure/abort-controller (? seconds)
|
||||
@azure/core-asynciterator-polyfill (? seconds)
|
||||
@azure/core-http (? seconds)
|
||||
@azure/core-paging (? seconds)
|
||||
@azure/cosmos (? seconds)
|
||||
@@ -61,18 +58,15 @@ SUCCESS (15)
|
||||
@azure/template (? seconds)
|
||||
testhub (? seconds)
|
||||
================================
|
||||
|
||||
SUCCESS WITH WARNINGS (1)
|
||||
================================
|
||||
@azure/service-bus (? seconds)
|
||||
Warning: You have changed the public API signature for this project. Updating review/service-bus.api.md
|
||||
================================
|
||||
|
||||
BLOCKED (1)
|
||||
================================
|
||||
@azure/event-hubs
|
||||
================================
|
||||
|
||||
FAILURE (1)
|
||||
================================
|
||||
@azure/core-amqp (? seconds)
|
||||
@@ -82,8 +76,6 @@ src/errors.ts(586,20): error TS7053: Element implicitly has an 'any' type becaus
|
||||
src/errors.ts(607,34): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof SystemErrorConditionMapper'.
|
||||
src/errors.ts(608,20): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof ConditionErrorNameMapper'.
|
||||
================================
|
||||
|
||||
|
||||
Error: Project(s) failed to build
|
||||
rush rebuild - Errors! ( ? seconds)
|
||||
|
||||
@@ -92,7 +84,6 @@ rush rebuild - Errors! ( ? seconds)
|
||||
Standard error:
|
||||
Your version of Node.js (12.4.0) has not been tested with this release of Rush. The Rush team will not accept issue reports for it. Please consider upgrading Rush or downgrading Node.js.
|
||||
XX of XX: [@azure/service-bus] completed with warnings in ? seconds
|
||||
|
||||
XX of XX: [@azure/core-amqp] failed to build!
|
||||
XX of XX: [@azure/event-hubs] blocked by [@azure/core-amqp]!
|
||||
[@azure/core-amqp] Returned error code: 2
|
||||
@@ -1,14 +1,9 @@
|
||||
Exit Code: 1
|
||||
Standard output:
|
||||
|
||||
|
||||
Rush Multi-Project Build Tool 5.6.0 - https://rushjs.io
|
||||
|
||||
|
||||
Starting "rush rebuild"
|
||||
|
||||
Executing a maximum of 1 simultaneous processes...
|
||||
|
||||
[@uifabric/prettier-rules] started
|
||||
XX of XX: [@uifabric/prettier-rules] completed successfully in ? seconds
|
||||
[@uifabric/tslint-rules] started
|
||||
@@ -36,9 +31,7 @@ XX of XX: [@uifabric/file-type-icons] completed successfully in ? seconds
|
||||
[@uifabric/foundation] started
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
● createFactory › passes componentProps without userProps
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -46,16 +39,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:205:73)
|
||||
|
||||
● createFactory › passes userProp string as child
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -63,16 +52,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:210:76)
|
||||
|
||||
● createFactory › passes userProp integer as child
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -80,16 +65,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:220:76)
|
||||
|
||||
● createFactory › passes userProp string as defaultProp
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -97,16 +78,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:225:92)
|
||||
|
||||
● createFactory › passes userProp integer as defaultProp
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -114,16 +91,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:235:92)
|
||||
|
||||
● createFactory › merges userProps over componentProps
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -131,16 +104,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:245:84)
|
||||
|
||||
● createFactory › renders div and userProp integer as children
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -148,16 +117,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:255:86)
|
||||
|
||||
● createFactory › renders div and userProp string as children
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -165,16 +130,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:266:86)
|
||||
|
||||
● createFactory › renders userProp span function without component props
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -182,16 +143,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:288:61)
|
||||
|
||||
● createFactory › renders userProp span function with component props
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -199,16 +156,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:301:61)
|
||||
|
||||
● createFactory › renders userProp span component with component props
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -216,16 +169,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:314:61)
|
||||
|
||||
● createFactory › passes props and type arguments to userProp function
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -233,16 +182,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at Object.<anonymous> (src/slots.test.tsx:334:43)
|
||||
|
||||
● getSlots › creates slots and passes merged props to them
|
||||
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -250,14 +195,12 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
192 | }
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
at _renderSlot (src/slots.tsx:221:100)
|
||||
at Object.slot [as testSlot1] (src/slots.tsx:142:16)
|
||||
at Object.<anonymous> (src/slots.test.tsx:399:24)
|
||||
|
||||
[XX:XX:XX XM] x Error detected while running 'jest'
|
||||
[XX:XX:XX XM] x ------------------------------------
|
||||
[XX:XX:XX XM] x Error: Command failed: /usr/local/bin/node /office-ui-fabric-react/common/temp/node_modules/jest/bin/jest.js --config /office-ui-fabric-react/packages/foundation/jest.config.js --passWithNoTests --colors
|
||||
@@ -273,7 +216,6 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
XX of XX: [@uifabric/icons] completed successfully in ? seconds
|
||||
[@uifabric/webpack-utils] started
|
||||
XX of XX: [@uifabric/webpack-utils] completed successfully in ? seconds
|
||||
|
||||
SUCCESS (8)
|
||||
================================
|
||||
@uifabric/build (? seconds)
|
||||
@@ -285,28 +227,21 @@ SUCCESS (8)
|
||||
@uifabric/tslint-rules (? seconds)
|
||||
@uifabric/webpack-utils (? seconds)
|
||||
================================
|
||||
|
||||
SUCCESS WITH WARNINGS (6)
|
||||
================================
|
||||
@uifabric/codepen-loader (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
|
||||
@uifabric/jest-serializer-merge-styles (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
|
||||
@uifabric/merge-styles (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
|
||||
@uifabric/set-version (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
|
||||
@uifabric/styling (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
|
||||
@uifabric/utilities (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
================================
|
||||
|
||||
BLOCKED (27)
|
||||
================================
|
||||
@uifabric/api-docs
|
||||
@@ -337,14 +272,12 @@ theming-designer
|
||||
todo-app
|
||||
vr-tests
|
||||
================================
|
||||
|
||||
FAILURE (1)
|
||||
================================
|
||||
@uifabric/foundation (? seconds)
|
||||
ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
|
||||
● createFactory › passes componentProps without userProps
|
||||
RangeError: Invalid array length
|
||||
|
||||
189 | for (const props of allProps) {
|
||||
190 | classNames.push(props && props.className);
|
||||
> 191 | assign(finalProps, ...(props as any));
|
||||
@@ -354,7 +287,6 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
[...179 lines omitted...]
|
||||
193 |
|
||||
194 | finalProps.className = mergeStyles(defaultStyles, classNames);
|
||||
|
||||
at Object.__spreadArrays (../../common/temp/node_modules/.registry.npmjs.org/tslib/1.10.0/node_modules/tslib/tslib.js:182:22)
|
||||
at _constructFinalProps (src/slots.tsx:191:11)
|
||||
at result (src/slots.tsx:88:24)
|
||||
@@ -373,8 +305,6 @@ ts-jest[versions] (WARN) Version X.X.X-insiders.xxxxxxxx of typescript installed
|
||||
[XX:XX:XX XM] x finished 'build' in ?s with errors
|
||||
[XX:XX:XX XM] x Error previously detected. See above for error messages.
|
||||
================================
|
||||
|
||||
|
||||
Error: Project(s) failed to build
|
||||
rush rebuild - Errors! ( ? seconds)
|
||||
|
||||
@@ -388,7 +318,6 @@ XX of XX: [@uifabric/merge-styles] completed with warnings in ? seconds
|
||||
XX of XX: [@uifabric/jest-serializer-merge-styles] completed with warnings in ? seconds
|
||||
XX of XX: [@uifabric/utilities] completed with warnings in ? seconds
|
||||
XX of XX: [@uifabric/styling] completed with warnings in ? seconds
|
||||
|
||||
XX of XX: [@uifabric/foundation] failed to build!
|
||||
XX of XX: [@uifabric/experiments] blocked by [@uifabric/foundation]!
|
||||
XX of XX: [@uifabric/fabric-website] blocked by [@uifabric/foundation]!
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
Exit Code: 1
|
||||
Standard output:
|
||||
yarn run vX.X.X
|
||||
$ gulp compile --max_old_space_size=4095
|
||||
[XX:XX:XX] Node flags detected: --max_old_space_size=4095
|
||||
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
|
||||
[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(560,5): Type 'null' is not assignable to type 'string'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/menu/menubar.ts(742,7): Type '"underline" | null' is not assignable to type 'string'.
|
||||
Type 'null' is not assignable to type 'string'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/textAreaInput.ts(208,33): Property 'locale' does not exist on type 'CompositionEvent'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/textAreaInput.ts(225,33): Property 'locale' does not exist on type 'CompositionEvent'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts(560,5): Type 'null' is not assignable to type 'string'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/base/browser/ui/menu/menubar.ts(742,7): Type '"underline" | null' is not assignable to type 'string'.
|
||||
Type 'null' is not assignable to type 'string'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/textAreaInput.ts(208,33): Property 'locale' does not exist on type 'CompositionEvent'.
|
||||
[XX:XX:XX] Error: /vscode/src/vs/editor/browser/controller/textAreaInput.ts(225,33): Property 'locale' does not exist on type 'CompositionEvent'.
|
||||
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
|
||||
|
||||
|
||||
|
||||
Standard error:
|
||||
[XX:XX:XX] 'compile' errored after
|
||||
[XX:XX:XX] Error: Found 4 errors
|
||||
at Stream.<anonymous> (/vscode/build/lib/reporter.js:74:29)
|
||||
at _end (/vscode/node_modules/through/index.js:65:9)
|
||||
at Stream.stream.end (/vscode/node_modules/through/index.js:74:5)
|
||||
at Stream.onend (internal/streams/legacy.js:42:10)
|
||||
at Stream.emit (events.js:203:15)
|
||||
at Stream.EventEmitter.emit (domain.js:466:23)
|
||||
at drain (/vscode/node_modules/through/index.js:34:23)
|
||||
at Stream.stream.queue.stream.push (/vscode/node_modules/through/index.js:45:5)
|
||||
at Stream.end (/vscode/node_modules/through/index.js:15:35)
|
||||
at _end (/vscode/node_modules/through/index.js:65:9)
|
||||
error Command failed with exit code 1.
|
||||
@@ -0,0 +1,9 @@
|
||||
Exit Code: 0
|
||||
Standard output:
|
||||
|
||||
> xterm@X.X.X build /xtermjs
|
||||
> tsc -b ./tsconfig.all.json
|
||||
|
||||
|
||||
|
||||
Standard error:
|
||||
@@ -0,0 +1,32 @@
|
||||
//// [exportNamespaceDeclarationRetainsVisibility.ts]
|
||||
namespace X {
|
||||
interface A {
|
||||
kind: 'a';
|
||||
}
|
||||
|
||||
interface B {
|
||||
kind: 'b';
|
||||
}
|
||||
|
||||
export type C = A | B;
|
||||
}
|
||||
|
||||
export = X;
|
||||
|
||||
//// [exportNamespaceDeclarationRetainsVisibility.js]
|
||||
"use strict";
|
||||
exports.__esModule = true;
|
||||
|
||||
|
||||
//// [exportNamespaceDeclarationRetainsVisibility.d.ts]
|
||||
declare namespace X {
|
||||
interface A {
|
||||
kind: 'a';
|
||||
}
|
||||
interface B {
|
||||
kind: 'b';
|
||||
}
|
||||
export type C = A | B;
|
||||
export {};
|
||||
}
|
||||
export = X;
|
||||
@@ -0,0 +1,27 @@
|
||||
=== tests/cases/compiler/exportNamespaceDeclarationRetainsVisibility.ts ===
|
||||
namespace X {
|
||||
>X : Symbol(X, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 0, 0))
|
||||
|
||||
interface A {
|
||||
>A : Symbol(A, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 0, 13))
|
||||
|
||||
kind: 'a';
|
||||
>kind : Symbol(A.kind, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 1, 17))
|
||||
}
|
||||
|
||||
interface B {
|
||||
>B : Symbol(B, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 3, 5))
|
||||
|
||||
kind: 'b';
|
||||
>kind : Symbol(B.kind, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 5, 17))
|
||||
}
|
||||
|
||||
export type C = A | B;
|
||||
>C : Symbol(C, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 7, 5))
|
||||
>A : Symbol(A, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 0, 13))
|
||||
>B : Symbol(B, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 3, 5))
|
||||
}
|
||||
|
||||
export = X;
|
||||
>X : Symbol(X, Decl(exportNamespaceDeclarationRetainsVisibility.ts, 0, 0))
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
=== tests/cases/compiler/exportNamespaceDeclarationRetainsVisibility.ts ===
|
||||
namespace X {
|
||||
interface A {
|
||||
kind: 'a';
|
||||
>kind : "a"
|
||||
}
|
||||
|
||||
interface B {
|
||||
kind: 'b';
|
||||
>kind : "b"
|
||||
}
|
||||
|
||||
export type C = A | B;
|
||||
>C : C
|
||||
}
|
||||
|
||||
export = X;
|
||||
>X : any
|
||||
|
||||
@@ -15,6 +15,7 @@ FileName : /tests/cases/fourslash/inputFile.d.ts
|
||||
declare module M {
|
||||
class C {
|
||||
}
|
||||
var foo: C;
|
||||
export var foo: C;
|
||||
export {};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
=== tests/cases/conformance/jsdoc/jsdocParseMatchingBackticks.js ===
|
||||
/**
|
||||
* `@param` initial at-param is OK in title comment
|
||||
* @param {string} x hi there `@param`
|
||||
* @param {string} y hi there `@ * param
|
||||
* this is the margin
|
||||
* so we'll drop everything before it
|
||||
`@param` @param {string} z hello???
|
||||
* `@param` @param {string} alpha hello???
|
||||
* `@ * param` @param {string} beta hello???
|
||||
* @param {string} gamma
|
||||
*/
|
||||
export function f(x, y, z, alpha, beta, gamma) {
|
||||
>f : Symbol(f, Decl(jsdocParseMatchingBackticks.js, 0, 0))
|
||||
>x : Symbol(x, Decl(jsdocParseMatchingBackticks.js, 11, 18))
|
||||
>y : Symbol(y, Decl(jsdocParseMatchingBackticks.js, 11, 20))
|
||||
>z : Symbol(z, Decl(jsdocParseMatchingBackticks.js, 11, 23))
|
||||
>alpha : Symbol(alpha, Decl(jsdocParseMatchingBackticks.js, 11, 26))
|
||||
>beta : Symbol(beta, Decl(jsdocParseMatchingBackticks.js, 11, 33))
|
||||
>gamma : Symbol(gamma, Decl(jsdocParseMatchingBackticks.js, 11, 39))
|
||||
|
||||
return x + y + z + alpha + beta + gamma
|
||||
>x : Symbol(x, Decl(jsdocParseMatchingBackticks.js, 11, 18))
|
||||
>y : Symbol(y, Decl(jsdocParseMatchingBackticks.js, 11, 20))
|
||||
>z : Symbol(z, Decl(jsdocParseMatchingBackticks.js, 11, 23))
|
||||
>alpha : Symbol(alpha, Decl(jsdocParseMatchingBackticks.js, 11, 26))
|
||||
>beta : Symbol(beta, Decl(jsdocParseMatchingBackticks.js, 11, 33))
|
||||
>gamma : Symbol(gamma, Decl(jsdocParseMatchingBackticks.js, 11, 39))
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
=== tests/cases/conformance/jsdoc/jsdocParseMatchingBackticks.js ===
|
||||
/**
|
||||
* `@param` initial at-param is OK in title comment
|
||||
* @param {string} x hi there `@param`
|
||||
* @param {string} y hi there `@ * param
|
||||
* this is the margin
|
||||
* so we'll drop everything before it
|
||||
`@param` @param {string} z hello???
|
||||
* `@param` @param {string} alpha hello???
|
||||
* `@ * param` @param {string} beta hello???
|
||||
* @param {string} gamma
|
||||
*/
|
||||
export function f(x, y, z, alpha, beta, gamma) {
|
||||
>f : (x: string, y: string, z: string, alpha: string, beta: string, gamma: string) => string
|
||||
>x : string
|
||||
>y : string
|
||||
>z : string
|
||||
>alpha : string
|
||||
>beta : string
|
||||
>gamma : string
|
||||
|
||||
return x + y + z + alpha + beta + gamma
|
||||
>x + y + z + alpha + beta + gamma : string
|
||||
>x + y + z + alpha + beta : string
|
||||
>x + y + z + alpha : string
|
||||
>x + y + z : string
|
||||
>x + y : string
|
||||
>x : string
|
||||
>y : string
|
||||
>z : string
|
||||
>alpha : string
|
||||
>beta : string
|
||||
>gamma : string
|
||||
}
|
||||
|
||||
@@ -28,18 +28,21 @@ var foo = /** @class */ (function () {
|
||||
return foo;
|
||||
}());
|
||||
var x;
|
||||
x = <any> {test} <any></any> };
|
||||
x = <any> {test}: <any></any> };
|
||||
|
||||
x = <any><any></any>;
|
||||
|
||||
x = <foo>hello {<foo>} </foo>}
|
||||
x = <foo>hello {<foo>} </foo>};
|
||||
|
||||
x = <foo test={<foo>}>hello</foo>}/>
|
||||
|
||||
x = <foo test={<foo>}>hello{<foo>}</foo>}
|
||||
x = <foo test={<foo>}>hello{<foo>}</foo>};
|
||||
|
||||
x = <foo>x</foo>, x = <foo />;
|
||||
|
||||
<foo>{<foo><foo>{/foo/.test(x) ? <foo><foo></foo> : <foo><foo></foo>}</foo>}</foo>
|
||||
:
|
||||
}</></>}</></>}/></></></>;
|
||||
}
|
||||
|
||||
|
||||
</></>}</></>}/></></></>;
|
||||
@@ -123,7 +123,7 @@ var x = <div>one</div>, <div>two</div>;
|
||||
var x = <div>one</div> /* intervening comment */, /* intervening comment */ <div>two</div>;
|
||||
;
|
||||
//// [20.jsx]
|
||||
<a>{"str"}}</a>;
|
||||
<a>{"str"};}</a>;
|
||||
//// [21.jsx]
|
||||
<span className="a" id="b"/>;
|
||||
//// [22.jsx]
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
tests/cases/conformance/jsx/file.tsx(11,36): error TS1005: '}' expected.
|
||||
tests/cases/conformance/jsx/file.tsx(11,44): error TS1003: Identifier expected.
|
||||
tests/cases/conformance/jsx/file.tsx(11,46): error TS1161: Unterminated regular expression literal.
|
||||
tests/cases/conformance/jsx/file.tsx(11,30): error TS2695: Left side of comma operator is unused and has no side effects.
|
||||
tests/cases/conformance/jsx/file.tsx(11,30): error TS18007: JSX expressions may not use the comma operator. Did you mean to write an array?
|
||||
|
||||
|
||||
==== tests/cases/conformance/jsx/file.tsx (3 errors) ====
|
||||
==== tests/cases/conformance/jsx/file.tsx (2 errors) ====
|
||||
declare module JSX {
|
||||
interface Element { }
|
||||
interface IntrinsicElements {
|
||||
@@ -15,10 +14,8 @@ tests/cases/conformance/jsx/file.tsx(11,46): error TS1161: Unterminated regular
|
||||
const class1 = "foo";
|
||||
const class2 = "bar";
|
||||
const elem = <div className={class1, class2}/>;
|
||||
~
|
||||
!!! error TS1005: '}' expected.
|
||||
~
|
||||
!!! error TS1003: Identifier expected.
|
||||
|
||||
!!! error TS1161: Unterminated regular expression literal.
|
||||
~~~~~~
|
||||
!!! error TS2695: Left side of comma operator is unused and has no side effects.
|
||||
~~~~~~~~~~~~~~
|
||||
!!! error TS18007: JSX expressions may not use the comma operator. Did you mean to write an array?
|
||||
|
||||
@@ -16,5 +16,4 @@ const elem = <div className={class1, class2}/>;
|
||||
// This should be a parse error
|
||||
var class1 = "foo";
|
||||
var class2 = "bar";
|
||||
var elem = <div className={class1} class2/>;
|
||||
/>;;
|
||||
var elem = <div className={class1, class2}/>;
|
||||
@@ -25,5 +25,5 @@ const elem = <div className={class1, class2}/>;
|
||||
>div : Symbol(JSX.IntrinsicElements, Decl(file.tsx, 1, 22))
|
||||
>className : Symbol(className, Decl(file.tsx, 10, 17))
|
||||
>class1 : Symbol(class1, Decl(file.tsx, 8, 5))
|
||||
>class2 : Symbol(class2, Decl(file.tsx, 10, 36))
|
||||
>class2 : Symbol(class2, Decl(file.tsx, 9, 5))
|
||||
|
||||
@@ -18,10 +18,10 @@ const class2 = "bar";
|
||||
|
||||
const elem = <div className={class1, class2}/>;
|
||||
>elem : JSX.Element
|
||||
><div className={class1, class2 : JSX.Element
|
||||
><div className={class1, class2}/> : JSX.Element
|
||||
>div : any
|
||||
>className : string
|
||||
>class1, class2 : "bar"
|
||||
>class1 : "foo"
|
||||
>class2 : true
|
||||
>/>; : RegExp
|
||||
>class2 : "bar"
|
||||
|
||||
@@ -3606,9 +3606,9 @@ export declare class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
export declare module publicModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
class publicClassWithWithPrivateGetAccessorTypes {
|
||||
export class publicClassWithWithPrivateGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: privateClass;
|
||||
@@ -3618,7 +3618,7 @@ export declare module publicModule {
|
||||
readonly myPublicMethod1: privateClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicGetAccessorTypes {
|
||||
export class publicClassWithWithPublicGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: publicClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: publicClass;
|
||||
@@ -3628,35 +3628,36 @@ export declare module publicModule {
|
||||
readonly myPublicMethod1: publicClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPrivateSetAccessorTypes {
|
||||
export class publicClassWithWithPrivateSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: privateClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithWithPublicSetAccessorTypes {
|
||||
export class publicClassWithWithPublicSetAccessorTypes {
|
||||
static myPublicStaticMethod: publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: publicClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateModule.publicClass;
|
||||
readonly myPublicMethod: privateModule.publicClass;
|
||||
static readonly myPublicStaticMethod1: privateModule.publicClass;
|
||||
readonly myPublicMethod1: privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateModule.publicClass;
|
||||
myPublicMethod: privateModule.publicClass;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
class publicClassWithWithPrivateGetAccessorTypes {
|
||||
export class publicClassWithWithPrivateGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: privateClass;
|
||||
@@ -3666,7 +3667,7 @@ declare module privateModule {
|
||||
readonly myPublicMethod1: privateClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicGetAccessorTypes {
|
||||
export class publicClassWithWithPublicGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: publicClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: publicClass;
|
||||
@@ -3676,28 +3677,29 @@ declare module privateModule {
|
||||
readonly myPublicMethod1: publicClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPrivateSetAccessorTypes {
|
||||
export class publicClassWithWithPrivateSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: privateClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithWithPublicSetAccessorTypes {
|
||||
export class publicClassWithWithPublicSetAccessorTypes {
|
||||
static myPublicStaticMethod: publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: publicClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateModule.publicClass;
|
||||
readonly myPublicMethod: privateModule.publicClass;
|
||||
static readonly myPublicStaticMethod1: publicClass;
|
||||
readonly myPublicMethod1: publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateModule.publicClass;
|
||||
myPublicMethod: privateModule.publicClass;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
//// [privacyAccessorDeclFile_GlobalFile.d.ts]
|
||||
@@ -3722,14 +3724,14 @@ declare class publicClassInGlobalWithWithPublicSetAccessorTypes {
|
||||
declare module publicModuleInGlobal {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
class publicClassWithWithPrivateGetAccessorTypes {
|
||||
export class publicClassWithWithPrivateGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: privateClass;
|
||||
@@ -3739,7 +3741,7 @@ declare module publicModuleInGlobal {
|
||||
readonly myPublicMethod1: privateClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicGetAccessorTypes {
|
||||
export class publicClassWithWithPublicGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: publicClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: publicClass;
|
||||
@@ -3749,30 +3751,31 @@ declare module publicModuleInGlobal {
|
||||
readonly myPublicMethod1: publicClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPrivateSetAccessorTypes {
|
||||
export class publicClassWithWithPrivateSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: privateClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithWithPublicSetAccessorTypes {
|
||||
export class publicClassWithWithPublicSetAccessorTypes {
|
||||
static myPublicStaticMethod: publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: publicClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateModule.publicClass;
|
||||
readonly myPublicMethod: privateModule.publicClass;
|
||||
static readonly myPublicStaticMethod1: publicClass;
|
||||
readonly myPublicMethod1: publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateModule.publicClass;
|
||||
myPublicMethod: privateModule.publicClass;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
class publicClassWithWithPrivateGetAccessorTypes {
|
||||
export class publicClassWithWithPrivateGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: privateClass;
|
||||
@@ -3782,7 +3785,7 @@ declare module publicModuleInGlobal {
|
||||
readonly myPublicMethod1: privateClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicGetAccessorTypes {
|
||||
export class publicClassWithWithPublicGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: publicClass;
|
||||
private static readonly myPrivateStaticMethod;
|
||||
readonly myPublicMethod: publicClass;
|
||||
@@ -3792,26 +3795,27 @@ declare module publicModuleInGlobal {
|
||||
readonly myPublicMethod1: publicClass;
|
||||
private readonly myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPrivateSetAccessorTypes {
|
||||
export class publicClassWithWithPrivateSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: privateClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithWithPublicSetAccessorTypes {
|
||||
export class publicClassWithWithPublicSetAccessorTypes {
|
||||
static myPublicStaticMethod: publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod: publicClass;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleGetAccessorTypes {
|
||||
static readonly myPublicStaticMethod: privateModule.publicClass;
|
||||
readonly myPublicMethod: privateModule.publicClass;
|
||||
static readonly myPublicStaticMethod1: privateModule.publicClass;
|
||||
readonly myPublicMethod1: privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
export class publicClassWithPrivateModuleSetAccessorTypes {
|
||||
static myPublicStaticMethod: privateModule.publicClass;
|
||||
myPublicMethod: privateModule.publicClass;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
@@ -22,5 +22,6 @@ declare module Outer {
|
||||
module Inner {
|
||||
var m: typeof Inner;
|
||||
}
|
||||
var f: typeof Inner;
|
||||
export var f: typeof Inner;
|
||||
export {};
|
||||
}
|
||||
@@ -22,5 +22,6 @@ declare module Outer {
|
||||
module Inner {
|
||||
var m: number;
|
||||
}
|
||||
var f: typeof Inner;
|
||||
export var f: typeof Inner;
|
||||
export {};
|
||||
}
|
||||
@@ -368,30 +368,32 @@ var publicClassExtendingPublicClassInGlobal = /** @class */ (function (_super) {
|
||||
|
||||
//// [privacyClassExtendsClauseDeclFile_externalModule.d.ts]
|
||||
export declare module publicModule {
|
||||
class publicClassInPublicModule {
|
||||
export class publicClassInPublicModule {
|
||||
private f1;
|
||||
}
|
||||
class privateClassInPublicModule {
|
||||
}
|
||||
class publicClassExtendingPublicClassInModule extends publicClassInPublicModule {
|
||||
export class publicClassExtendingPublicClassInModule extends publicClassInPublicModule {
|
||||
}
|
||||
class publicClassExtendingPrivateClassInModule extends privateClassInPublicModule {
|
||||
export class publicClassExtendingPrivateClassInModule extends privateClassInPublicModule {
|
||||
}
|
||||
class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
|
||||
export class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class publicClassInPrivateModule {
|
||||
export class publicClassInPrivateModule {
|
||||
private f1;
|
||||
}
|
||||
class privateClassInPrivateModule {
|
||||
}
|
||||
class publicClassExtendingPublicClassInModule extends publicClassInPrivateModule {
|
||||
export class publicClassExtendingPublicClassInModule extends publicClassInPrivateModule {
|
||||
}
|
||||
class publicClassExtendingPrivateClassInModule extends privateClassInPrivateModule {
|
||||
export class publicClassExtendingPrivateClassInModule extends privateClassInPrivateModule {
|
||||
}
|
||||
class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
|
||||
export class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
export declare class publicClass {
|
||||
private f1;
|
||||
@@ -407,15 +409,16 @@ export declare class publicClassExtendingFromPrivateModuleClass extends privateM
|
||||
export {};
|
||||
//// [privacyClassExtendsClauseDeclFile_GlobalFile.d.ts]
|
||||
declare module publicModuleInGlobal {
|
||||
class publicClassInPublicModule {
|
||||
export class publicClassInPublicModule {
|
||||
private f1;
|
||||
}
|
||||
class privateClassInPublicModule {
|
||||
}
|
||||
class publicClassExtendingPublicClassInModule extends publicClassInPublicModule {
|
||||
export class publicClassExtendingPublicClassInModule extends publicClassInPublicModule {
|
||||
}
|
||||
class publicClassExtendingPrivateClassInModule extends privateClassInPublicModule {
|
||||
export class publicClassExtendingPrivateClassInModule extends privateClassInPublicModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare class publicClassInGlobal {
|
||||
}
|
||||
|
||||
@@ -242,30 +242,32 @@ var publicClassImplementingPublicInterfaceInGlobal = /** @class */ (function ()
|
||||
|
||||
//// [privacyClassImplementsClauseDeclFile_externalModule.d.ts]
|
||||
export declare module publicModule {
|
||||
interface publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceInPublicModule {
|
||||
}
|
||||
interface privateInterfaceInPublicModule {
|
||||
}
|
||||
class publicClassImplementingPublicInterfaceInModule implements publicInterfaceInPublicModule {
|
||||
export class publicClassImplementingPublicInterfaceInModule implements publicInterfaceInPublicModule {
|
||||
}
|
||||
class publicClassImplementingPrivateInterfaceInModule implements privateInterfaceInPublicModule {
|
||||
export class publicClassImplementingPrivateInterfaceInModule implements privateInterfaceInPublicModule {
|
||||
}
|
||||
class publicClassImplementingFromPrivateModuleInterface implements privateModule.publicInterfaceInPrivateModule {
|
||||
export class publicClassImplementingFromPrivateModuleInterface implements privateModule.publicInterfaceInPrivateModule {
|
||||
}
|
||||
class publicClassImplementingPrivateAndPublicInterface implements privateInterfaceInPublicModule, publicInterfaceInPublicModule {
|
||||
export class publicClassImplementingPrivateAndPublicInterface implements privateInterfaceInPublicModule, publicInterfaceInPublicModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
interface publicInterfaceInPrivateModule {
|
||||
export interface publicInterfaceInPrivateModule {
|
||||
}
|
||||
interface privateInterfaceInPrivateModule {
|
||||
}
|
||||
class publicClassImplementingPublicInterfaceInModule implements publicInterfaceInPrivateModule {
|
||||
export class publicClassImplementingPublicInterfaceInModule implements publicInterfaceInPrivateModule {
|
||||
}
|
||||
class publicClassImplementingPrivateInterfaceInModule implements privateInterfaceInPrivateModule {
|
||||
export class publicClassImplementingPrivateInterfaceInModule implements privateInterfaceInPrivateModule {
|
||||
}
|
||||
class publicClassImplementingFromPrivateModuleInterface implements privateModule.publicInterfaceInPrivateModule {
|
||||
export class publicClassImplementingFromPrivateModuleInterface implements privateModule.publicInterfaceInPrivateModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
export interface publicInterface {
|
||||
}
|
||||
@@ -280,14 +282,15 @@ export declare class publicClassImplementingFromPrivateModuleInterface implement
|
||||
export {};
|
||||
//// [privacyClassImplementsClauseDeclFile_GlobalFile.d.ts]
|
||||
declare module publicModuleInGlobal {
|
||||
interface publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceInPublicModule {
|
||||
}
|
||||
interface privateInterfaceInPublicModule {
|
||||
}
|
||||
class publicClassImplementingPublicInterfaceInModule implements publicInterfaceInPublicModule {
|
||||
export class publicClassImplementingPublicInterfaceInModule implements publicInterfaceInPublicModule {
|
||||
}
|
||||
class publicClassImplementingPrivateInterfaceInModule implements privateInterfaceInPublicModule {
|
||||
export class publicClassImplementingPrivateInterfaceInModule implements privateInterfaceInPublicModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
interface publicInterfaceInGlobal {
|
||||
}
|
||||
|
||||
@@ -1334,19 +1334,19 @@ export declare function publicAmbientFunctionWithPrivateModuleParameterTypes(par
|
||||
export declare module publicModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (param: privateClass): publicClass;
|
||||
(param: privateClass): publicClass;
|
||||
myMethod(param: privateClass): void;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (param: publicClass): publicClass;
|
||||
(param: publicClass): publicClass;
|
||||
myMethod(param: publicClass): void;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
private param1;
|
||||
param2: privateClass;
|
||||
static myPublicStaticMethod(param: privateClass): void;
|
||||
@@ -1355,7 +1355,7 @@ export declare module publicModule {
|
||||
private myPrivateMethod;
|
||||
constructor(param: privateClass, param1: privateClass, param2: privateClass);
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
private param1;
|
||||
param2: publicClass;
|
||||
static myPublicStaticMethod(param: publicClass): void;
|
||||
@@ -1364,41 +1364,42 @@ export declare module publicModule {
|
||||
private myPrivateMethod;
|
||||
constructor(param: publicClass, param1: publicClass, param2: publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (param: privateModule.publicClass): publicClass;
|
||||
(param: privateModule.publicClass): publicClass;
|
||||
myMethod(param: privateModule.publicClass): void;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
private param1;
|
||||
param2: privateModule.publicClass;
|
||||
static myPublicStaticMethod(param: privateModule.publicClass): void;
|
||||
myPublicMethod(param: privateModule.publicClass): void;
|
||||
constructor(param: privateModule.publicClass, param1: privateModule.publicClass, param2: privateModule.publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (param: privateClass): publicClass;
|
||||
(param: privateClass): publicClass;
|
||||
myMethod(param: privateClass): void;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (param: publicClass): publicClass;
|
||||
(param: publicClass): publicClass;
|
||||
myMethod(param: publicClass): void;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
private param1;
|
||||
param2: privateClass;
|
||||
static myPublicStaticMethod(param: privateClass): void;
|
||||
@@ -1407,7 +1408,7 @@ declare module privateModule {
|
||||
private myPrivateMethod;
|
||||
constructor(param: privateClass, param1: privateClass, param2: privateClass);
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
private param1;
|
||||
param2: publicClass;
|
||||
static myPublicStaticMethod(param: publicClass): void;
|
||||
@@ -1416,24 +1417,25 @@ declare module privateModule {
|
||||
private myPrivateMethod;
|
||||
constructor(param: publicClass, param1: publicClass, param2: publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (param: privateModule.publicClass): publicClass;
|
||||
(param: privateModule.publicClass): publicClass;
|
||||
myMethod(param: privateModule.publicClass): void;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
private param1;
|
||||
param2: privateModule.publicClass;
|
||||
static myPublicStaticMethod(param: privateModule.publicClass): void;
|
||||
myPublicMethod(param: privateModule.publicClass): void;
|
||||
constructor(param: privateModule.publicClass, param1: privateModule.publicClass, param2: privateModule.publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
//// [privacyFunctionParameterDeclFile_GlobalFile.d.ts]
|
||||
@@ -1458,24 +1460,24 @@ declare function publicAmbientFunctionWithPublicParmeterTypesInGlobal(param: pub
|
||||
declare module publicModuleInGlobal {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (param: privateClass): publicClass;
|
||||
(param: privateClass): publicClass;
|
||||
myMethod(param: privateClass): void;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (param: publicClass): publicClass;
|
||||
(param: publicClass): publicClass;
|
||||
myMethod(param: publicClass): void;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
private param1;
|
||||
param2: privateClass;
|
||||
static myPublicStaticMethod(param: privateClass): void;
|
||||
@@ -1484,7 +1486,7 @@ declare module publicModuleInGlobal {
|
||||
private myPrivateMethod;
|
||||
constructor(param: privateClass, param1: privateClass, param2: privateClass);
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
private param1;
|
||||
param2: publicClass;
|
||||
static myPublicStaticMethod(param: publicClass): void;
|
||||
@@ -1493,36 +1495,37 @@ declare module publicModuleInGlobal {
|
||||
private myPrivateMethod;
|
||||
constructor(param: publicClass, param1: publicClass, param2: publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (param: privateModule.publicClass): publicClass;
|
||||
(param: privateModule.publicClass): publicClass;
|
||||
myMethod(param: privateModule.publicClass): void;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
private param1;
|
||||
param2: privateModule.publicClass;
|
||||
static myPublicStaticMethod(param: privateModule.publicClass): void;
|
||||
myPublicMethod(param: privateModule.publicClass): void;
|
||||
constructor(param: privateModule.publicClass, param1: privateModule.publicClass, param2: privateModule.publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export {};
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (param: privateClass): publicClass;
|
||||
(param: privateClass): publicClass;
|
||||
myMethod(param: privateClass): void;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (param: publicClass): publicClass;
|
||||
(param: publicClass): publicClass;
|
||||
myMethod(param: publicClass): void;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
private param1;
|
||||
param2: privateClass;
|
||||
static myPublicStaticMethod(param: privateClass): void;
|
||||
@@ -1531,7 +1534,7 @@ declare module publicModuleInGlobal {
|
||||
private myPrivateMethod;
|
||||
constructor(param: privateClass, param1: privateClass, param2: privateClass);
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
private param1;
|
||||
param2: publicClass;
|
||||
static myPublicStaticMethod(param: publicClass): void;
|
||||
@@ -1540,22 +1543,23 @@ declare module publicModuleInGlobal {
|
||||
private myPrivateMethod;
|
||||
constructor(param: publicClass, param1: publicClass, param2: publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(param: privateClass): void;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(param: publicClass): void;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (param: privateModule.publicClass): publicClass;
|
||||
(param: privateModule.publicClass): publicClass;
|
||||
myMethod(param: privateModule.publicClass): void;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
private param1;
|
||||
param2: privateModule.publicClass;
|
||||
static myPublicStaticMethod(param: privateModule.publicClass): void;
|
||||
myPublicMethod(param: privateModule.publicClass): void;
|
||||
constructor(param: privateModule.publicClass, param1: privateModule.publicClass, param2: privateModule.publicClass);
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(param: privateModule.publicClass): void;
|
||||
export {};
|
||||
}
|
||||
@@ -2341,21 +2341,21 @@ export declare function publicAmbientFunctionWithPrivateModuleParameterTypes():
|
||||
export declare module publicModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (): privateClass;
|
||||
(): privateClass;
|
||||
[x: number]: privateClass;
|
||||
myMethod(): privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (): publicClass;
|
||||
(): publicClass;
|
||||
[x: number]: publicClass;
|
||||
myMethod(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
static myPublicStaticMethod(): privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): privateClass;
|
||||
@@ -2365,7 +2365,7 @@ export declare module publicModule {
|
||||
myPublicMethod1(): privateClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
static myPublicStaticMethod(): publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): publicClass;
|
||||
@@ -2375,46 +2375,47 @@ export declare module publicModule {
|
||||
myPublicMethod1(): publicClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (): privateModule.publicClass;
|
||||
(): privateModule.publicClass;
|
||||
[x: number]: privateModule.publicClass;
|
||||
myMethod(): privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
static myPublicStaticMethod(): privateModule.publicClass;
|
||||
myPublicMethod(): privateModule.publicClass;
|
||||
static myPublicStaticMethod1(): privateModule.publicClass;
|
||||
myPublicMethod1(): privateModule.publicClass;
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
function publicFunctionWithPrivateModuleParameterTypes1(): privateModule.publicClass;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes1(): privateModule.publicClass;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (): privateClass;
|
||||
(): privateClass;
|
||||
[x: number]: privateClass;
|
||||
myMethod(): privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (): publicClass;
|
||||
(): publicClass;
|
||||
[x: number]: publicClass;
|
||||
myMethod(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
static myPublicStaticMethod(): privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): privateClass;
|
||||
@@ -2424,7 +2425,7 @@ declare module privateModule {
|
||||
myPublicMethod1(): privateClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
static myPublicStaticMethod(): publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): publicClass;
|
||||
@@ -2434,27 +2435,28 @@ declare module privateModule {
|
||||
myPublicMethod1(): publicClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (): privateModule.publicClass;
|
||||
(): privateModule.publicClass;
|
||||
[x: number]: privateModule.publicClass;
|
||||
myMethod(): privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
static myPublicStaticMethod(): privateModule.publicClass;
|
||||
myPublicMethod(): privateModule.publicClass;
|
||||
static myPublicStaticMethod1(): publicClass;
|
||||
myPublicMethod1(): publicClass;
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
function publicFunctionWithPrivateModuleParameterTypes1(): publicClass;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes1(): publicClass;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
//// [privacyFunctionReturnTypeDeclFile_GlobalFile.d.ts]
|
||||
@@ -2482,26 +2484,26 @@ declare function publicAmbientFunctionWithPublicParmeterTypesInGlobal(): publicC
|
||||
declare module publicModuleInGlobal {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (): privateClass;
|
||||
(): privateClass;
|
||||
[x: number]: privateClass;
|
||||
myMethod(): privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (): publicClass;
|
||||
(): publicClass;
|
||||
[x: number]: publicClass;
|
||||
myMethod(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
static myPublicStaticMethod(): privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): privateClass;
|
||||
@@ -2511,7 +2513,7 @@ declare module publicModuleInGlobal {
|
||||
myPublicMethod1(): privateClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
static myPublicStaticMethod(): publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): publicClass;
|
||||
@@ -2521,41 +2523,42 @@ declare module publicModuleInGlobal {
|
||||
myPublicMethod1(): publicClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (): privateModule.publicClass;
|
||||
(): privateModule.publicClass;
|
||||
[x: number]: privateModule.publicClass;
|
||||
myMethod(): privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
static myPublicStaticMethod(): privateModule.publicClass;
|
||||
myPublicMethod(): privateModule.publicClass;
|
||||
static myPublicStaticMethod1(): publicClass;
|
||||
myPublicMethod1(): publicClass;
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
function publicFunctionWithPrivateModuleParameterTypes1(): publicClass;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes1(): publicClass;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
interface publicInterfaceWithPrivateParmeterTypes {
|
||||
export interface publicInterfaceWithPrivateParmeterTypes {
|
||||
new (): privateClass;
|
||||
(): privateClass;
|
||||
[x: number]: privateClass;
|
||||
myMethod(): privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicParmeterTypes {
|
||||
export interface publicInterfaceWithPublicParmeterTypes {
|
||||
new (): publicClass;
|
||||
(): publicClass;
|
||||
[x: number]: publicClass;
|
||||
myMethod(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateParmeterTypes {
|
||||
export class publicClassWithWithPrivateParmeterTypes {
|
||||
static myPublicStaticMethod(): privateClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): privateClass;
|
||||
@@ -2565,7 +2568,7 @@ declare module publicModuleInGlobal {
|
||||
myPublicMethod1(): privateClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
class publicClassWithWithPublicParmeterTypes {
|
||||
export class publicClassWithWithPublicParmeterTypes {
|
||||
static myPublicStaticMethod(): publicClass;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod(): publicClass;
|
||||
@@ -2575,25 +2578,26 @@ declare module publicModuleInGlobal {
|
||||
myPublicMethod1(): publicClass;
|
||||
private myPrivateMethod1;
|
||||
}
|
||||
function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
export function publicFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export function publicFunctionWithPrivateParmeterTypes1(): privateClass;
|
||||
export function publicFunctionWithPublicParmeterTypes1(): publicClass;
|
||||
export function publicAmbientFunctionWithPrivateParmeterTypes(): privateClass;
|
||||
export function publicAmbientFunctionWithPublicParmeterTypes(): publicClass;
|
||||
export interface publicInterfaceWithPrivateModuleParameterTypes {
|
||||
new (): privateModule.publicClass;
|
||||
(): privateModule.publicClass;
|
||||
[x: number]: privateModule.publicClass;
|
||||
myMethod(): privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModuleParameterTypes {
|
||||
export class publicClassWithPrivateModuleParameterTypes {
|
||||
static myPublicStaticMethod(): privateModule.publicClass;
|
||||
myPublicMethod(): privateModule.publicClass;
|
||||
static myPublicStaticMethod1(): privateModule.publicClass;
|
||||
myPublicMethod1(): privateModule.publicClass;
|
||||
}
|
||||
function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
function publicFunctionWithPrivateModuleParameterTypes1(): privateModule.publicClass;
|
||||
function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export function publicFunctionWithPrivateModuleParameterTypes1(): privateModule.publicClass;
|
||||
export function publicAmbientFunctionWithPrivateModuleParameterTypes(): privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
@@ -265,7 +265,7 @@ var m2;
|
||||
|
||||
//// [privacyGloImport.d.ts]
|
||||
declare module m1 {
|
||||
module m1_M1_public {
|
||||
export module m1_M1_public {
|
||||
class c1 {
|
||||
}
|
||||
function f1(): c1;
|
||||
@@ -280,17 +280,18 @@ declare module m1 {
|
||||
var v2: c1;
|
||||
}
|
||||
import m1_im1_private = m1_M1_public;
|
||||
var m1_im1_private_v1_public: typeof m1_im1_private.c1;
|
||||
var m1_im1_private_v2_public: m1_im1_private.c1;
|
||||
var m1_im1_private_v3_public: typeof m1_im1_private.f1;
|
||||
var m1_im1_private_v4_public: m1_im1_private.c1;
|
||||
export var m1_im1_private_v1_public: typeof m1_im1_private.c1;
|
||||
export var m1_im1_private_v2_public: m1_im1_private.c1;
|
||||
export var m1_im1_private_v3_public: typeof m1_im1_private.f1;
|
||||
export var m1_im1_private_v4_public: m1_im1_private.c1;
|
||||
import m1_im2_private = m1_M2_private;
|
||||
var m1_im2_private_v1_public: typeof m1_im2_private.c1;
|
||||
var m1_im2_private_v2_public: m1_im2_private.c1;
|
||||
var m1_im2_private_v3_public: typeof m1_im2_private.f1;
|
||||
var m1_im2_private_v4_public: m1_im2_private.c1;
|
||||
export var m1_im2_private_v1_public: typeof m1_im2_private.c1;
|
||||
export var m1_im2_private_v2_public: m1_im2_private.c1;
|
||||
export var m1_im2_private_v3_public: typeof m1_im2_private.f1;
|
||||
export var m1_im2_private_v4_public: m1_im2_private.c1;
|
||||
export import m1_im1_public = m1_M1_public;
|
||||
export import m1_im2_public = m1_M2_private;
|
||||
export {};
|
||||
}
|
||||
declare module glo_M1_public {
|
||||
class c1 {
|
||||
|
||||
@@ -245,7 +245,7 @@ var m2;
|
||||
|
||||
//// [privacyGloImportParseErrors.d.ts]
|
||||
declare module m1 {
|
||||
module m1_M1_public {
|
||||
export module m1_M1_public {
|
||||
class c1 {
|
||||
}
|
||||
function f1(): c1;
|
||||
@@ -259,7 +259,7 @@ declare module m1 {
|
||||
var v1: typeof c1;
|
||||
var v2: c1;
|
||||
}
|
||||
module "m1_M3_public" {
|
||||
export module "m1_M3_public" {
|
||||
function f1(): any;
|
||||
class c1 {
|
||||
}
|
||||
@@ -269,27 +269,28 @@ declare module m1 {
|
||||
var v2: c1;
|
||||
}
|
||||
import m1_im1_private = m1_M1_public;
|
||||
var m1_im1_private_v1_public: typeof m1_im1_private.c1;
|
||||
var m1_im1_private_v2_public: m1_im1_private.c1;
|
||||
var m1_im1_private_v3_public: typeof m1_im1_private.f1;
|
||||
var m1_im1_private_v4_public: m1_im1_private.c1;
|
||||
export var m1_im1_private_v1_public: typeof m1_im1_private.c1;
|
||||
export var m1_im1_private_v2_public: m1_im1_private.c1;
|
||||
export var m1_im1_private_v3_public: typeof m1_im1_private.f1;
|
||||
export var m1_im1_private_v4_public: m1_im1_private.c1;
|
||||
import m1_im2_private = m1_M2_private;
|
||||
var m1_im2_private_v1_public: typeof m1_im2_private.c1;
|
||||
var m1_im2_private_v2_public: m1_im2_private.c1;
|
||||
var m1_im2_private_v3_public: typeof m1_im2_private.f1;
|
||||
var m1_im2_private_v4_public: m1_im2_private.c1;
|
||||
var m1_im3_private_v1_public: any;
|
||||
var m1_im3_private_v2_public: any;
|
||||
var m1_im3_private_v3_public: any;
|
||||
var m1_im3_private_v4_public: any;
|
||||
var m1_im4_private_v1_public: any;
|
||||
var m1_im4_private_v2_public: any;
|
||||
var m1_im4_private_v3_public: any;
|
||||
var m1_im4_private_v4_public: any;
|
||||
export var m1_im2_private_v1_public: typeof m1_im2_private.c1;
|
||||
export var m1_im2_private_v2_public: m1_im2_private.c1;
|
||||
export var m1_im2_private_v3_public: typeof m1_im2_private.f1;
|
||||
export var m1_im2_private_v4_public: m1_im2_private.c1;
|
||||
export var m1_im3_private_v1_public: any;
|
||||
export var m1_im3_private_v2_public: any;
|
||||
export var m1_im3_private_v3_public: any;
|
||||
export var m1_im3_private_v4_public: any;
|
||||
export var m1_im4_private_v1_public: any;
|
||||
export var m1_im4_private_v2_public: any;
|
||||
export var m1_im4_private_v3_public: any;
|
||||
export var m1_im4_private_v4_public: any;
|
||||
export import m1_im1_public = m1_M1_public;
|
||||
export import m1_im2_public = m1_M2_private;
|
||||
export import m1_im3_public = require("m1_M3_public");
|
||||
export import m1_im4_public = require("m1_M4_private");
|
||||
export {};
|
||||
}
|
||||
declare module glo_M1_public {
|
||||
class c1 {
|
||||
|
||||
@@ -706,7 +706,7 @@ var m3;
|
||||
|
||||
//// [privacyImport.d.ts]
|
||||
export declare module m1 {
|
||||
module m1_M1_public {
|
||||
export module m1_M1_public {
|
||||
class c1 {
|
||||
}
|
||||
function f1(): c1;
|
||||
@@ -721,17 +721,18 @@ export declare module m1 {
|
||||
var v2: c1;
|
||||
}
|
||||
import m1_im1_private = m1_M1_public;
|
||||
var m1_im1_private_v1_public: typeof m1_im1_private.c1;
|
||||
var m1_im1_private_v2_public: m1_im1_private.c1;
|
||||
var m1_im1_private_v3_public: typeof m1_im1_private.f1;
|
||||
var m1_im1_private_v4_public: m1_im1_private.c1;
|
||||
export var m1_im1_private_v1_public: typeof m1_im1_private.c1;
|
||||
export var m1_im1_private_v2_public: m1_im1_private.c1;
|
||||
export var m1_im1_private_v3_public: typeof m1_im1_private.f1;
|
||||
export var m1_im1_private_v4_public: m1_im1_private.c1;
|
||||
import m1_im2_private = m1_M2_private;
|
||||
var m1_im2_private_v1_public: typeof m1_im2_private.c1;
|
||||
var m1_im2_private_v2_public: m1_im2_private.c1;
|
||||
var m1_im2_private_v3_public: typeof m1_im2_private.f1;
|
||||
var m1_im2_private_v4_public: m1_im2_private.c1;
|
||||
export var m1_im2_private_v1_public: typeof m1_im2_private.c1;
|
||||
export var m1_im2_private_v2_public: m1_im2_private.c1;
|
||||
export var m1_im2_private_v3_public: typeof m1_im2_private.f1;
|
||||
export var m1_im2_private_v4_public: m1_im2_private.c1;
|
||||
export import m1_im1_public = m1_M1_public;
|
||||
export import m1_im2_public = m1_M2_private;
|
||||
export {};
|
||||
}
|
||||
export declare module glo_M1_public {
|
||||
class c1 {
|
||||
|
||||
@@ -101,30 +101,32 @@ exports.__esModule = true;
|
||||
|
||||
//// [privacyInterfaceExtendsClauseDeclFile_externalModule.d.ts]
|
||||
export declare module publicModule {
|
||||
interface publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceInPublicModule {
|
||||
}
|
||||
interface privateInterfaceInPublicModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPublicInterfaceInModule extends publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceImplementingPublicInterfaceInModule extends publicInterfaceInPublicModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPrivateInterfaceInModule extends privateInterfaceInPublicModule {
|
||||
export interface publicInterfaceImplementingPrivateInterfaceInModule extends privateInterfaceInPublicModule {
|
||||
}
|
||||
interface publicInterfaceImplementingFromPrivateModuleInterface extends privateModule.publicInterfaceInPrivateModule {
|
||||
export interface publicInterfaceImplementingFromPrivateModuleInterface extends privateModule.publicInterfaceInPrivateModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPrivateAndPublicInterface extends privateInterfaceInPublicModule, publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceImplementingPrivateAndPublicInterface extends privateInterfaceInPublicModule, publicInterfaceInPublicModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
interface publicInterfaceInPrivateModule {
|
||||
export interface publicInterfaceInPrivateModule {
|
||||
}
|
||||
interface privateInterfaceInPrivateModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPublicInterfaceInModule extends publicInterfaceInPrivateModule {
|
||||
export interface publicInterfaceImplementingPublicInterfaceInModule extends publicInterfaceInPrivateModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPrivateInterfaceInModule extends privateInterfaceInPrivateModule {
|
||||
export interface publicInterfaceImplementingPrivateInterfaceInModule extends privateInterfaceInPrivateModule {
|
||||
}
|
||||
interface publicInterfaceImplementingFromPrivateModuleInterface extends privateModule.publicInterfaceInPrivateModule {
|
||||
export interface publicInterfaceImplementingFromPrivateModuleInterface extends privateModule.publicInterfaceInPrivateModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
export interface publicInterface {
|
||||
}
|
||||
@@ -139,14 +141,15 @@ export interface publicInterfaceImplementingFromPrivateModuleInterface extends p
|
||||
export {};
|
||||
//// [privacyInterfaceExtendsClauseDeclFile_GlobalFile.d.ts]
|
||||
declare module publicModuleInGlobal {
|
||||
interface publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceInPublicModule {
|
||||
}
|
||||
interface privateInterfaceInPublicModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPublicInterfaceInModule extends publicInterfaceInPublicModule {
|
||||
export interface publicInterfaceImplementingPublicInterfaceInModule extends publicInterfaceInPublicModule {
|
||||
}
|
||||
interface publicInterfaceImplementingPrivateInterfaceInModule extends privateInterfaceInPublicModule {
|
||||
export interface publicInterfaceImplementingPrivateInterfaceInModule extends privateInterfaceInPublicModule {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
interface publicInterfaceInGlobal {
|
||||
}
|
||||
|
||||
@@ -872,95 +872,97 @@ export declare function publicFunctionWithPrivateMopduleTypeParameters<T extends
|
||||
export declare module publicModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateTypeParameters {
|
||||
export interface publicInterfaceWithPrivateTypeParameters {
|
||||
new <T extends privateClass>(): privateClass;
|
||||
<T extends privateClass>(): privateClass;
|
||||
myMethod<T extends privateClass>(): privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicTypeParameters {
|
||||
export interface publicInterfaceWithPublicTypeParameters {
|
||||
new <T extends publicClass>(): publicClass;
|
||||
<T extends publicClass>(): publicClass;
|
||||
myMethod<T extends publicClass>(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateTypeParameters {
|
||||
export class publicClassWithWithPrivateTypeParameters {
|
||||
static myPublicStaticMethod<T extends privateClass>(): void;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod<T extends privateClass>(): void;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithWithPublicTypeParameters {
|
||||
export class publicClassWithWithPublicTypeParameters {
|
||||
static myPublicStaticMethod<T extends publicClass>(): void;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod<T extends publicClass>(): void;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
function publicFunctionWithPrivateTypeParameters<T extends privateClass>(): void;
|
||||
function publicFunctionWithPublicTypeParameters<T extends publicClass>(): void;
|
||||
interface publicInterfaceWithPublicTypeParametersWithoutExtends {
|
||||
export function publicFunctionWithPrivateTypeParameters<T extends privateClass>(): void;
|
||||
export function publicFunctionWithPublicTypeParameters<T extends publicClass>(): void;
|
||||
export interface publicInterfaceWithPublicTypeParametersWithoutExtends {
|
||||
new <T>(): publicClass;
|
||||
<T>(): publicClass;
|
||||
myMethod<T>(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPublicTypeParametersWithoutExtends {
|
||||
export class publicClassWithWithPublicTypeParametersWithoutExtends {
|
||||
static myPublicStaticMethod<T>(): void;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod<T>(): void;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
function publicFunctionWithPublicTypeParametersWithoutExtends<T>(): void;
|
||||
interface publicInterfaceWithPrivatModuleTypeParameters {
|
||||
export function publicFunctionWithPublicTypeParametersWithoutExtends<T>(): void;
|
||||
export interface publicInterfaceWithPrivatModuleTypeParameters {
|
||||
new <T extends privateModule.publicClass>(): privateModule.publicClass;
|
||||
<T extends privateModule.publicClass>(): privateModule.publicClass;
|
||||
myMethod<T extends privateModule.publicClass>(): privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateModuleTypeParameters {
|
||||
export class publicClassWithWithPrivateModuleTypeParameters {
|
||||
static myPublicStaticMethod<T extends privateModule.publicClass>(): void;
|
||||
myPublicMethod<T extends privateModule.publicClass>(): void;
|
||||
}
|
||||
function publicFunctionWithPrivateMopduleTypeParameters<T extends privateModule.publicClass>(): void;
|
||||
export function publicFunctionWithPrivateMopduleTypeParameters<T extends privateModule.publicClass>(): void;
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivateTypeParameters {
|
||||
export interface publicInterfaceWithPrivateTypeParameters {
|
||||
new <T extends privateClass>(): privateClass;
|
||||
<T extends privateClass>(): privateClass;
|
||||
myMethod<T extends privateClass>(): privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicTypeParameters {
|
||||
export interface publicInterfaceWithPublicTypeParameters {
|
||||
new <T extends publicClass>(): publicClass;
|
||||
<T extends publicClass>(): publicClass;
|
||||
myMethod<T extends publicClass>(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivateTypeParameters {
|
||||
export class publicClassWithWithPrivateTypeParameters {
|
||||
static myPublicStaticMethod<T extends privateClass>(): void;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod<T extends privateClass>(): void;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
class publicClassWithWithPublicTypeParameters {
|
||||
export class publicClassWithWithPublicTypeParameters {
|
||||
static myPublicStaticMethod<T extends publicClass>(): void;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod<T extends publicClass>(): void;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
function publicFunctionWithPrivateTypeParameters<T extends privateClass>(): void;
|
||||
function publicFunctionWithPublicTypeParameters<T extends publicClass>(): void;
|
||||
interface publicInterfaceWithPublicTypeParametersWithoutExtends {
|
||||
export function publicFunctionWithPrivateTypeParameters<T extends privateClass>(): void;
|
||||
export function publicFunctionWithPublicTypeParameters<T extends publicClass>(): void;
|
||||
export interface publicInterfaceWithPublicTypeParametersWithoutExtends {
|
||||
new <T>(): publicClass;
|
||||
<T>(): publicClass;
|
||||
myMethod<T>(): publicClass;
|
||||
}
|
||||
class publicClassWithWithPublicTypeParametersWithoutExtends {
|
||||
export class publicClassWithWithPublicTypeParametersWithoutExtends {
|
||||
static myPublicStaticMethod<T>(): void;
|
||||
private static myPrivateStaticMethod;
|
||||
myPublicMethod<T>(): void;
|
||||
private myPrivateMethod;
|
||||
}
|
||||
function publicFunctionWithPublicTypeParametersWithoutExtends<T>(): void;
|
||||
export function publicFunctionWithPublicTypeParametersWithoutExtends<T>(): void;
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
@@ -405,34 +405,36 @@ export declare class publicClassWithTypeParametersFromPrivateModule<T extends pr
|
||||
export declare module publicModule {
|
||||
class privateClassInPublicModule {
|
||||
}
|
||||
class publicClassInPublicModule {
|
||||
export class publicClassInPublicModule {
|
||||
}
|
||||
class publicClassWithPrivateTypeParameters<T extends privateClassInPublicModule> {
|
||||
export class publicClassWithPrivateTypeParameters<T extends privateClassInPublicModule> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
class publicClassWithPublicTypeParameters<T extends publicClassInPublicModule> {
|
||||
export class publicClassWithPublicTypeParameters<T extends publicClassInPublicModule> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
class publicClassWithPublicTypeParametersWithoutExtends<T> {
|
||||
export class publicClassWithPublicTypeParametersWithoutExtends<T> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
class publicClassWithTypeParametersFromPrivateModule<T extends privateModule.publicClassInPrivateModule> {
|
||||
export class publicClassWithTypeParametersFromPrivateModule<T extends privateModule.publicClassInPrivateModule> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClassInPrivateModule {
|
||||
}
|
||||
class publicClassInPrivateModule {
|
||||
export class publicClassInPrivateModule {
|
||||
}
|
||||
class publicClassWithPrivateTypeParameters<T extends privateClassInPrivateModule> {
|
||||
export class publicClassWithPrivateTypeParameters<T extends privateClassInPrivateModule> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
class publicClassWithPublicTypeParameters<T extends publicClassInPrivateModule> {
|
||||
export class publicClassWithPublicTypeParameters<T extends publicClassInPrivateModule> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
class publicClassWithPublicTypeParametersWithoutExtends<T> {
|
||||
export class publicClassWithPublicTypeParametersWithoutExtends<T> {
|
||||
myMethod(val: T): T;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
@@ -301,13 +301,13 @@ export interface publicInterfaceWithPrivateModuleTypeParameterConstraints<T exte
|
||||
export declare module publicModule {
|
||||
class privateClassInPublicModule {
|
||||
}
|
||||
class publicClassInPublicModule {
|
||||
export class publicClassInPublicModule {
|
||||
}
|
||||
class privateClassInPublicModuleT<T> {
|
||||
}
|
||||
class publicClassInPublicModuleT<T> {
|
||||
export class publicClassInPublicModuleT<T> {
|
||||
}
|
||||
interface publicInterfaceWithPrivateTypeParameters<T extends privateClassInPublicModule> {
|
||||
export interface publicInterfaceWithPrivateTypeParameters<T extends privateClassInPublicModule> {
|
||||
myMethod(val: T): T;
|
||||
myMethod0(): publicClassInPublicModuleT<T>;
|
||||
myMethod1(): privateClassInPublicModuleT<privateClassInPublicModule>;
|
||||
@@ -315,7 +315,7 @@ export declare module publicModule {
|
||||
myMethod3(): publicClassInPublicModuleT<privateClassInPublicModule>;
|
||||
myMethod4(): publicClassInPublicModuleT<publicClassInPublicModule>;
|
||||
}
|
||||
interface publicInterfaceWithPublicTypeParameters<T extends publicClassInPublicModule> {
|
||||
export interface publicInterfaceWithPublicTypeParameters<T extends publicClassInPublicModule> {
|
||||
myMethod(val: T): T;
|
||||
myMethod0(): publicClassInPublicModuleT<T>;
|
||||
myMethod1(): privateClassInPublicModuleT<privateClassInPublicModule>;
|
||||
@@ -323,23 +323,24 @@ export declare module publicModule {
|
||||
myMethod3(): publicClassInPublicModuleT<privateClassInPublicModule>;
|
||||
myMethod4(): publicClassInPublicModuleT<publicClassInPublicModule>;
|
||||
}
|
||||
interface publicInterfaceWithPublicTypeParametersWithoutExtends<T> {
|
||||
export interface publicInterfaceWithPublicTypeParametersWithoutExtends<T> {
|
||||
myMethod(val: T): T;
|
||||
myMethod0(): publicClassInPublicModuleT<T>;
|
||||
}
|
||||
interface publicInterfaceWithPrivateModuleTypeParameterConstraints<T extends privateModule.publicClassInPrivateModule> {
|
||||
export interface publicInterfaceWithPrivateModuleTypeParameterConstraints<T extends privateModule.publicClassInPrivateModule> {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClassInPrivateModule {
|
||||
}
|
||||
class publicClassInPrivateModule {
|
||||
export class publicClassInPrivateModule {
|
||||
}
|
||||
class privateClassInPrivateModuleT<T> {
|
||||
}
|
||||
class publicClassInPrivateModuleT<T> {
|
||||
export class publicClassInPrivateModuleT<T> {
|
||||
}
|
||||
interface publicInterfaceWithPrivateTypeParameters<T extends privateClassInPrivateModule> {
|
||||
export interface publicInterfaceWithPrivateTypeParameters<T extends privateClassInPrivateModule> {
|
||||
myMethod(val: T): T;
|
||||
myMethod0(): publicClassInPrivateModuleT<T>;
|
||||
myMethod1(): privateClassInPrivateModuleT<privateClassInPrivateModule>;
|
||||
@@ -347,7 +348,7 @@ declare module privateModule {
|
||||
myMethod3(): publicClassInPrivateModuleT<privateClassInPrivateModule>;
|
||||
myMethod4(): publicClassInPrivateModuleT<publicClassInPrivateModule>;
|
||||
}
|
||||
interface publicInterfaceWithPublicTypeParameters<T extends publicClassInPrivateModule> {
|
||||
export interface publicInterfaceWithPublicTypeParameters<T extends publicClassInPrivateModule> {
|
||||
myMethod(val: T): T;
|
||||
myMethod0(): publicClassInPrivateModuleT<T>;
|
||||
myMethod1(): privateClassInPrivateModuleT<privateClassInPrivateModule>;
|
||||
@@ -355,9 +356,10 @@ declare module privateModule {
|
||||
myMethod3(): publicClassInPrivateModuleT<privateClassInPrivateModule>;
|
||||
myMethod4(): publicClassInPrivateModuleT<publicClassInPrivateModule>;
|
||||
}
|
||||
interface publicInterfaceWithPublicTypeParametersWithoutExtends<T> {
|
||||
export interface publicInterfaceWithPublicTypeParametersWithoutExtends<T> {
|
||||
myMethod(val: T): T;
|
||||
myMethod0(): publicClassInPrivateModuleT<T>;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
@@ -727,76 +727,78 @@ export declare var publicAmbientVarWithPrivateModulePropertyTypes: privateModule
|
||||
export declare module publicModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivatePropertyTypes {
|
||||
export interface publicInterfaceWithPrivatePropertyTypes {
|
||||
myProperty: privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicPropertyTypes {
|
||||
export interface publicInterfaceWithPublicPropertyTypes {
|
||||
myProperty: publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivatePropertyTypes {
|
||||
export class publicClassWithWithPrivatePropertyTypes {
|
||||
static myPublicStaticProperty: privateClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: privateClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
class publicClassWithWithPublicPropertyTypes {
|
||||
export class publicClassWithWithPublicPropertyTypes {
|
||||
static myPublicStaticProperty: publicClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: publicClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicVarWithPublicPropertyTypes: publicClass;
|
||||
var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
export var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicVarWithPublicPropertyTypes: publicClass;
|
||||
export var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
export interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
myProperty: privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModulePropertyTypes {
|
||||
export class publicClassWithPrivateModulePropertyTypes {
|
||||
static myPublicStaticProperty: privateModule.publicClass;
|
||||
myPublicProperty: privateModule.publicClass;
|
||||
}
|
||||
var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
declare module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivatePropertyTypes {
|
||||
export interface publicInterfaceWithPrivatePropertyTypes {
|
||||
myProperty: privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicPropertyTypes {
|
||||
export interface publicInterfaceWithPublicPropertyTypes {
|
||||
myProperty: publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivatePropertyTypes {
|
||||
export class publicClassWithWithPrivatePropertyTypes {
|
||||
static myPublicStaticProperty: privateClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: privateClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
class publicClassWithWithPublicPropertyTypes {
|
||||
export class publicClassWithWithPublicPropertyTypes {
|
||||
static myPublicStaticProperty: publicClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: publicClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicVarWithPublicPropertyTypes: publicClass;
|
||||
var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
export var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicVarWithPublicPropertyTypes: publicClass;
|
||||
export var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
export interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
myProperty: privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModulePropertyTypes {
|
||||
export class publicClassWithPrivateModulePropertyTypes {
|
||||
static myPublicStaticProperty: privateModule.publicClass;
|
||||
myPublicProperty: privateModule.publicClass;
|
||||
}
|
||||
var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
export {};
|
||||
//// [privacyVarDeclFile_GlobalFile.d.ts]
|
||||
@@ -816,74 +818,76 @@ declare var publicAmbientVarWithPublicPropertyTypesInGlobal: publicClassInGlobal
|
||||
declare module publicModuleInGlobal {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
module privateModule {
|
||||
class privateClass {
|
||||
}
|
||||
class publicClass {
|
||||
export class publicClass {
|
||||
}
|
||||
interface publicInterfaceWithPrivatePropertyTypes {
|
||||
export interface publicInterfaceWithPrivatePropertyTypes {
|
||||
myProperty: privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicPropertyTypes {
|
||||
export interface publicInterfaceWithPublicPropertyTypes {
|
||||
myProperty: publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivatePropertyTypes {
|
||||
export class publicClassWithWithPrivatePropertyTypes {
|
||||
static myPublicStaticProperty: privateClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: privateClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
class publicClassWithWithPublicPropertyTypes {
|
||||
export class publicClassWithWithPublicPropertyTypes {
|
||||
static myPublicStaticProperty: publicClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: publicClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicVarWithPublicPropertyTypes: publicClass;
|
||||
var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
export var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicVarWithPublicPropertyTypes: publicClass;
|
||||
export var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
export interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
myProperty: privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModulePropertyTypes {
|
||||
export class publicClassWithPrivateModulePropertyTypes {
|
||||
static myPublicStaticProperty: privateModule.publicClass;
|
||||
myPublicProperty: privateModule.publicClass;
|
||||
}
|
||||
var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
interface publicInterfaceWithPrivatePropertyTypes {
|
||||
export interface publicInterfaceWithPrivatePropertyTypes {
|
||||
myProperty: privateClass;
|
||||
}
|
||||
interface publicInterfaceWithPublicPropertyTypes {
|
||||
export interface publicInterfaceWithPublicPropertyTypes {
|
||||
myProperty: publicClass;
|
||||
}
|
||||
class publicClassWithWithPrivatePropertyTypes {
|
||||
export class publicClassWithWithPrivatePropertyTypes {
|
||||
static myPublicStaticProperty: privateClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: privateClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
class publicClassWithWithPublicPropertyTypes {
|
||||
export class publicClassWithWithPublicPropertyTypes {
|
||||
static myPublicStaticProperty: publicClass;
|
||||
private static myPrivateStaticProperty;
|
||||
myPublicProperty: publicClass;
|
||||
private myPrivateProperty;
|
||||
}
|
||||
var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicVarWithPublicPropertyTypes: publicClass;
|
||||
var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
export var publicVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicVarWithPublicPropertyTypes: publicClass;
|
||||
export var publicAmbientVarWithPrivatePropertyTypes: privateClass;
|
||||
export var publicAmbientVarWithPublicPropertyTypes: publicClass;
|
||||
export interface publicInterfaceWithPrivateModulePropertyTypes {
|
||||
myProperty: privateModule.publicClass;
|
||||
}
|
||||
class publicClassWithPrivateModulePropertyTypes {
|
||||
export class publicClassWithPrivateModulePropertyTypes {
|
||||
static myPublicStaticProperty: privateModule.publicClass;
|
||||
myPublicProperty: privateModule.publicClass;
|
||||
}
|
||||
var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export var publicAmbientVarWithPrivateModulePropertyTypes: privateModule.publicClass;
|
||||
export {};
|
||||
}
|
||||
@@ -31,11 +31,12 @@ var M;
|
||||
declare module M {
|
||||
interface I {
|
||||
}
|
||||
class C {
|
||||
export class C {
|
||||
[Symbol.iterator]: I;
|
||||
[Symbol.toPrimitive](x: I): void;
|
||||
[Symbol.isConcatSpreadable](): I;
|
||||
readonly [Symbol.toPrimitive]: any;
|
||||
[Symbol.toPrimitive]: I;
|
||||
}
|
||||
export {};
|
||||
}
|
||||
+12
-12
@@ -221,10 +221,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -232,7 +232,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 438,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -254,7 +254,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 171,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -278,7 +278,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-438):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-438):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-438)
|
||||
var myGlob = 20;
|
||||
@@ -308,7 +308,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-171):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-171):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-171)
|
||||
declare const myGlob = 20;
|
||||
@@ -496,12 +496,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -593,10 +593,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -622,7 +622,7 @@ sourceFile:file4.ts
|
||||
"pos": 1180,
|
||||
"end": 1935,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1180,
|
||||
@@ -651,7 +651,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 227,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -712,7 +712,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
return t;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1180-1935):: /src/lib/module.js texts:: 1
|
||||
prepend: (1180-1935):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1180-1935)
|
||||
var myGlob = 20;
|
||||
@@ -762,7 +762,7 @@ appfile4Spread.apply(void 0, __spread([10, 20, 30]));
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-227):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-227):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-227)
|
||||
declare const myGlob = 20;
|
||||
@@ -1171,12 +1171,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -305,10 +305,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -340,7 +340,7 @@ sourceFile:file4.ts
|
||||
"pos": 62,
|
||||
"end": 523,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 62,
|
||||
@@ -390,7 +390,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 171,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -426,7 +426,7 @@ prologue: (30-44):: myPrologue3
|
||||
prologue: (46-60):: myPrologue2
|
||||
"myPrologue2";
|
||||
----------------------------------------------------------------------
|
||||
prepend: (62-523):: /src/lib/module.js texts:: 1
|
||||
prepend: (62-523):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (62-523)
|
||||
var myGlob = 20;
|
||||
@@ -458,7 +458,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-171):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-171):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-171)
|
||||
declare const myGlob = 20;
|
||||
@@ -698,12 +698,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -226,10 +226,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -237,7 +237,7 @@ sourceFile:file4.ts
|
||||
"pos": 25,
|
||||
"end": 463,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 25,
|
||||
@@ -259,7 +259,7 @@ sourceFile:file4.ts
|
||||
"pos": 25,
|
||||
"end": 196,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 25,
|
||||
@@ -283,7 +283,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (25-463):: /src/lib/module.js texts:: 1
|
||||
prepend: (25-463):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (25-463)
|
||||
var myGlob = 20;
|
||||
@@ -313,7 +313,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (25-196):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (25-196):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (25-196)
|
||||
declare const myGlob = 20;
|
||||
@@ -506,12 +506,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -1664,10 +1664,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1675,7 +1675,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 4158,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1697,7 +1697,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 217,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1721,7 +1721,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-4158):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-4158):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-4158)
|
||||
/*@internal*/ var myGlob = 20;
|
||||
@@ -1841,7 +1841,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-217):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-217):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-217)
|
||||
declare module "file1" {
|
||||
@@ -3500,12 +3500,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -297,10 +297,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -308,7 +308,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 513,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -342,7 +342,7 @@ sourceFile:file4.ts
|
||||
"pos": 89,
|
||||
"end": 297,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 89,
|
||||
@@ -366,7 +366,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-513):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-513):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-513)
|
||||
///<reference path="./tripleRef.d.ts"/>
|
||||
@@ -406,7 +406,7 @@ reference: (0-39):: tripleRef.d.ts
|
||||
reference: (41-87):: ../lib/tripleRef.d.ts
|
||||
/// <reference path="../lib/tripleRef.d.ts" />
|
||||
----------------------------------------------------------------------
|
||||
prepend: (89-297):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (89-297):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (89-297)
|
||||
declare const file0Const: libfile0;
|
||||
@@ -634,12 +634,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -532,10 +532,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -561,7 +561,7 @@ sourceFile:file4.ts
|
||||
"pos": 1180,
|
||||
"end": 1821,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1180,
|
||||
@@ -590,7 +590,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 227,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -651,7 +651,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
return t;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1180-1821):: /src/lib/module.js texts:: 1
|
||||
prepend: (1180-1821):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1180-1821)
|
||||
var myGlob = 20;
|
||||
@@ -698,7 +698,7 @@ appfile4Spread.apply(void 0, __spread([10, 20, 30]));
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-227):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-227):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-227)
|
||||
declare const myGlob = 20;
|
||||
@@ -1022,12 +1022,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -469,10 +469,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -504,7 +504,7 @@ sourceFile:file4.ts
|
||||
"pos": 62,
|
||||
"end": 514,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 62,
|
||||
@@ -554,7 +554,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 171,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -590,7 +590,7 @@ prologue: (30-44):: myPrologue3
|
||||
prologue: (46-60):: myPrologue2
|
||||
"myPrologue2";
|
||||
----------------------------------------------------------------------
|
||||
prepend: (62-514):: /src/lib/module.js texts:: 1
|
||||
prepend: (62-514):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (62-514)
|
||||
var myGlob = 20;
|
||||
@@ -622,7 +622,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-171):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-171):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-171)
|
||||
declare const myGlob = 20;
|
||||
@@ -972,12 +972,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -1844,10 +1844,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1855,7 +1855,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 4143,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1877,7 +1877,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 191,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1901,7 +1901,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-4143):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-4143):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-4143)
|
||||
/*@internal*/ var myGlob = 20;
|
||||
@@ -2020,7 +2020,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-191):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-191):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-191)
|
||||
declare module "file1" {
|
||||
@@ -4365,12 +4365,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -380,10 +380,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -391,7 +391,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 409,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -413,7 +413,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 171,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -437,7 +437,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-409):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-409):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-409)
|
||||
var myGlob = 20;
|
||||
@@ -466,7 +466,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-171):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-171):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-171)
|
||||
declare const myGlob = 20;
|
||||
@@ -753,12 +753,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -826,10 +826,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -855,7 +855,7 @@ sourceFile:file4.ts
|
||||
"pos": 1180,
|
||||
"end": 1906,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1180,
|
||||
@@ -884,7 +884,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 227,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -945,7 +945,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
return t;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1180-1906):: /src/lib/module.js texts:: 1
|
||||
prepend: (1180-1906):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1180-1906)
|
||||
var myGlob = 20;
|
||||
@@ -994,7 +994,7 @@ appfile4Spread.apply(void 0, __spread([10, 20, 30]));
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-227):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-227):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-227)
|
||||
declare const myGlob = 20;
|
||||
@@ -1560,12 +1560,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -478,10 +478,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -513,7 +513,7 @@ sourceFile:file4.ts
|
||||
"pos": 62,
|
||||
"end": 494,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 62,
|
||||
@@ -563,7 +563,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 171,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -599,7 +599,7 @@ prologue: (30-44):: myPrologue3
|
||||
prologue: (46-60):: myPrologue2
|
||||
"myPrologue2";
|
||||
----------------------------------------------------------------------
|
||||
prepend: (62-494):: /src/lib/module.js texts:: 1
|
||||
prepend: (62-494):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (62-494)
|
||||
var myGlob = 20;
|
||||
@@ -630,7 +630,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-171):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-171):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-171)
|
||||
declare const myGlob = 20;
|
||||
@@ -1001,12 +1001,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -395,10 +395,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -406,7 +406,7 @@ sourceFile:file4.ts
|
||||
"pos": 25,
|
||||
"end": 434,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 25,
|
||||
@@ -428,7 +428,7 @@ sourceFile:file4.ts
|
||||
"pos": 25,
|
||||
"end": 196,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 25,
|
||||
@@ -452,7 +452,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (25-434):: /src/lib/module.js texts:: 1
|
||||
prepend: (25-434):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (25-434)
|
||||
var myGlob = 20;
|
||||
@@ -481,7 +481,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (25-196):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (25-196):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (25-196)
|
||||
declare const myGlob = 20;
|
||||
@@ -784,12 +784,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -1863,10 +1863,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1874,7 +1874,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 4129,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1896,7 +1896,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 217,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1920,7 +1920,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-4129):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-4129):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-4129)
|
||||
/*@internal*/ var myGlob = 20;
|
||||
@@ -2039,7 +2039,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-217):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (0-217):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-217)
|
||||
declare module "file1" {
|
||||
@@ -4457,12 +4457,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -511,10 +511,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -522,7 +522,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 484,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.js",
|
||||
"data": "../lib/module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -556,7 +556,7 @@ sourceFile:file4.ts
|
||||
"pos": 89,
|
||||
"end": 297,
|
||||
"kind": "prepend",
|
||||
"data": "/src/lib/module.d.ts",
|
||||
"data": "../lib/module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 89,
|
||||
@@ -580,7 +580,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-484):: /src/lib/module.js texts:: 1
|
||||
prepend: (0-484):: ../lib/module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-484)
|
||||
///<reference path="./tripleRef.d.ts"/>
|
||||
@@ -619,7 +619,7 @@ reference: (0-39):: tripleRef.d.ts
|
||||
reference: (41-87):: ../lib/tripleRef.d.ts
|
||||
/// <reference path="../lib/tripleRef.d.ts" />
|
||||
----------------------------------------------------------------------
|
||||
prepend: (89-297):: /src/lib/module.d.ts texts:: 1
|
||||
prepend: (89-297):: ../lib/module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (89-297)
|
||||
declare const file0Const: libfile0;
|
||||
@@ -979,12 +979,12 @@ sourceFile:global.ts
|
||||
//// [/src/lib/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/lib/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./file0.ts",
|
||||
"./file1.ts",
|
||||
"./file2.ts",
|
||||
"./global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+12
-12
@@ -385,10 +385,10 @@ sourceFile:file4.ts
|
||||
//// [/src/app/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/app/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/app/file3.ts",
|
||||
"/src/app/file4.ts"
|
||||
"./file3.ts",
|
||||
"./file4.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -396,7 +396,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 417,
|
||||
"kind": "prepend",
|
||||
"data": "/src/module.js",
|
||||
"data": "../module.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -418,7 +418,7 @@ sourceFile:file4.ts
|
||||
"pos": 0,
|
||||
"end": 179,
|
||||
"kind": "prepend",
|
||||
"data": "/src/module.d.ts",
|
||||
"data": "../module.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -442,7 +442,7 @@ sourceFile:file4.ts
|
||||
======================================================================
|
||||
File:: /src/app/module.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-417):: /src/module.js texts:: 1
|
||||
prepend: (0-417):: ../module.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-417)
|
||||
var myGlob = 20;
|
||||
@@ -471,7 +471,7 @@ var myVar = 30;
|
||||
======================================================================
|
||||
File:: /src/app/module.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-179):: /src/module.d.ts texts:: 1
|
||||
prepend: (0-179):: ../module.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-179)
|
||||
declare const myGlob = 20;
|
||||
@@ -542,12 +542,12 @@ var globalConst = 10;
|
||||
//// [/src/module.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/",
|
||||
"commonSourceDirectory": "./",
|
||||
"sourceFiles": [
|
||||
"/src/lib/file0.ts",
|
||||
"/src/lib/file1.ts",
|
||||
"/src/lib/file2.ts",
|
||||
"/src/lib/global.ts"
|
||||
"./lib/file0.ts",
|
||||
"./lib/file1.ts",
|
||||
"./lib/file2.ts",
|
||||
"./lib/global.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
|
||||
+24
-24
@@ -30,27 +30,27 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex"
|
||||
{
|
||||
"program": {
|
||||
"fileInfos": {
|
||||
"/lib/lib.d.ts": {
|
||||
"../../lib/lib.d.ts": {
|
||||
"version": "-15964756381",
|
||||
"signature": "-15964756381"
|
||||
},
|
||||
"/src/bar.ts": {
|
||||
"../bar.ts": {
|
||||
"version": "747071916",
|
||||
"signature": "-9232740537"
|
||||
},
|
||||
"/src/bundling.ts": {
|
||||
"../bundling.ts": {
|
||||
"version": "-21659820217",
|
||||
"signature": "-40032907372"
|
||||
},
|
||||
"/src/global.d.ts": {
|
||||
"../global.d.ts": {
|
||||
"version": "-9780226215",
|
||||
"signature": "-9780226215"
|
||||
},
|
||||
"/src/lazyindex.ts": {
|
||||
"../lazyindex.ts": {
|
||||
"version": "-6956449754",
|
||||
"signature": "-6224542381"
|
||||
},
|
||||
"/src/index.ts": {
|
||||
"../index.ts": {
|
||||
"version": "-11602502901",
|
||||
"signature": "6256067474"
|
||||
}
|
||||
@@ -58,35 +58,35 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex"
|
||||
"options": {
|
||||
"target": 1,
|
||||
"declaration": true,
|
||||
"outDir": "/src/obj",
|
||||
"outDir": "./",
|
||||
"incremental": true,
|
||||
"configFilePath": "/src/tsconfig.json"
|
||||
"configFilePath": "../tsconfig.json"
|
||||
},
|
||||
"referencedMap": {
|
||||
"/src/index.ts": [
|
||||
"/src/bundling.ts",
|
||||
"/src/lazyindex.ts"
|
||||
"../index.ts": [
|
||||
"../bundling.ts",
|
||||
"../lazyindex.ts"
|
||||
],
|
||||
"/src/lazyindex.ts": [
|
||||
"/src/bar.ts"
|
||||
"../lazyindex.ts": [
|
||||
"../bar.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {
|
||||
"/src/index.ts": [
|
||||
"/src/bundling.ts",
|
||||
"/src/lazyindex.ts"
|
||||
"../index.ts": [
|
||||
"../bundling.ts",
|
||||
"../lazyindex.ts"
|
||||
],
|
||||
"/src/lazyindex.ts": [
|
||||
"/src/bar.ts"
|
||||
"../lazyindex.ts": [
|
||||
"../bar.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"/lib/lib.d.ts",
|
||||
"/src/bar.ts",
|
||||
"/src/bundling.ts",
|
||||
"/src/global.d.ts",
|
||||
"/src/index.ts",
|
||||
"/src/lazyindex.ts"
|
||||
"../../lib/lib.d.ts",
|
||||
"../bar.ts",
|
||||
"../bundling.ts",
|
||||
"../global.d.ts",
|
||||
"../index.ts",
|
||||
"../lazyindex.ts"
|
||||
]
|
||||
},
|
||||
"version": "FakeTSVersion"
|
||||
|
||||
+24
-24
@@ -68,27 +68,27 @@ exports.bar = bar_1.default;
|
||||
{
|
||||
"program": {
|
||||
"fileInfos": {
|
||||
"/lib/lib.d.ts": {
|
||||
"../../lib/lib.d.ts": {
|
||||
"version": "-15964756381",
|
||||
"signature": "-15964756381"
|
||||
},
|
||||
"/src/bar.ts": {
|
||||
"../bar.ts": {
|
||||
"version": "5936740878",
|
||||
"signature": "11191036521"
|
||||
},
|
||||
"/src/bundling.ts": {
|
||||
"../bundling.ts": {
|
||||
"version": "-21659820217",
|
||||
"signature": "-40032907372"
|
||||
},
|
||||
"/src/global.d.ts": {
|
||||
"../global.d.ts": {
|
||||
"version": "-9780226215",
|
||||
"signature": "-9780226215"
|
||||
},
|
||||
"/src/lazyindex.ts": {
|
||||
"../lazyindex.ts": {
|
||||
"version": "-6956449754",
|
||||
"signature": "-6224542381"
|
||||
},
|
||||
"/src/index.ts": {
|
||||
"../index.ts": {
|
||||
"version": "-11602502901",
|
||||
"signature": "18468008756"
|
||||
}
|
||||
@@ -96,35 +96,35 @@ exports.bar = bar_1.default;
|
||||
"options": {
|
||||
"target": 1,
|
||||
"declaration": true,
|
||||
"outDir": "/src/obj",
|
||||
"outDir": "./",
|
||||
"incremental": true,
|
||||
"configFilePath": "/src/tsconfig.json"
|
||||
"configFilePath": "../tsconfig.json"
|
||||
},
|
||||
"referencedMap": {
|
||||
"/src/index.ts": [
|
||||
"/src/bundling.ts",
|
||||
"/src/lazyindex.ts"
|
||||
"../index.ts": [
|
||||
"../bundling.ts",
|
||||
"../lazyindex.ts"
|
||||
],
|
||||
"/src/lazyindex.ts": [
|
||||
"/src/bar.ts"
|
||||
"../lazyindex.ts": [
|
||||
"../bar.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {
|
||||
"/src/index.ts": [
|
||||
"/src/bundling.ts",
|
||||
"/src/lazyindex.ts"
|
||||
"../index.ts": [
|
||||
"../bundling.ts",
|
||||
"../lazyindex.ts"
|
||||
],
|
||||
"/src/lazyindex.ts": [
|
||||
"/src/bar.ts"
|
||||
"../lazyindex.ts": [
|
||||
"../bar.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"/lib/lib.d.ts",
|
||||
"/src/bar.ts",
|
||||
"/src/bundling.ts",
|
||||
"/src/global.d.ts",
|
||||
"/src/index.ts",
|
||||
"/src/lazyindex.ts"
|
||||
"../../lib/lib.d.ts",
|
||||
"../bar.ts",
|
||||
"../bundling.ts",
|
||||
"../global.d.ts",
|
||||
"../index.ts",
|
||||
"../lazyindex.ts"
|
||||
]
|
||||
},
|
||||
"version": "FakeTSVersion"
|
||||
|
||||
+14
-14
@@ -21,43 +21,43 @@ type A = HKT<number>[typeof sym];
|
||||
{
|
||||
"program": {
|
||||
"fileInfos": {
|
||||
"/lib/lib.d.ts": {
|
||||
"../lib/lib.d.ts": {
|
||||
"version": "-15964756381",
|
||||
"signature": "-15964756381"
|
||||
},
|
||||
"/src/src/globals.d.ts": {
|
||||
"./src/globals.d.ts": {
|
||||
"version": "-1994196675",
|
||||
"signature": "-1994196675"
|
||||
},
|
||||
"/src/src/hkt.ts": {
|
||||
"./src/hkt.ts": {
|
||||
"version": "675797797",
|
||||
"signature": "2373810515"
|
||||
},
|
||||
"/src/src/main.ts": {
|
||||
"./src/main.ts": {
|
||||
"version": "-27494779858",
|
||||
"signature": "-7779857705"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"rootDir": "/src/src",
|
||||
"rootDir": "./src",
|
||||
"incremental": true,
|
||||
"configFilePath": "/src/tsconfig.json"
|
||||
"configFilePath": "./tsconfig.json"
|
||||
},
|
||||
"referencedMap": {
|
||||
"/src/src/main.ts": [
|
||||
"/src/src/hkt.ts"
|
||||
"./src/main.ts": [
|
||||
"./src/hkt.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {
|
||||
"/src/src/main.ts": [
|
||||
"/src/src/hkt.ts"
|
||||
"./src/main.ts": [
|
||||
"./src/hkt.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"/lib/lib.d.ts",
|
||||
"/src/src/globals.d.ts",
|
||||
"/src/src/hkt.ts",
|
||||
"/src/src/main.ts"
|
||||
"../lib/lib.d.ts",
|
||||
"./src/globals.d.ts",
|
||||
"./src/hkt.ts",
|
||||
"./src/main.ts"
|
||||
]
|
||||
},
|
||||
"version": "FakeTSVersion"
|
||||
|
||||
+14
-14
@@ -14,43 +14,43 @@ var x = 10;
|
||||
{
|
||||
"program": {
|
||||
"fileInfos": {
|
||||
"/lib/lib.d.ts": {
|
||||
"../lib/lib.d.ts": {
|
||||
"version": "-15964756381",
|
||||
"signature": "-15964756381"
|
||||
},
|
||||
"/src/src/globals.d.ts": {
|
||||
"./src/globals.d.ts": {
|
||||
"version": "-1994196675",
|
||||
"signature": "-1994196675"
|
||||
},
|
||||
"/src/src/hkt.ts": {
|
||||
"./src/hkt.ts": {
|
||||
"version": "675797797",
|
||||
"signature": "2373810515"
|
||||
},
|
||||
"/src/src/main.ts": {
|
||||
"./src/main.ts": {
|
||||
"version": "-28387946490",
|
||||
"signature": "-7779857705"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"rootDir": "/src/src",
|
||||
"rootDir": "./src",
|
||||
"incremental": true,
|
||||
"configFilePath": "/src/tsconfig.json"
|
||||
"configFilePath": "./tsconfig.json"
|
||||
},
|
||||
"referencedMap": {
|
||||
"/src/src/main.ts": [
|
||||
"/src/src/hkt.ts"
|
||||
"./src/main.ts": [
|
||||
"./src/hkt.ts"
|
||||
]
|
||||
},
|
||||
"exportedModulesMap": {
|
||||
"/src/src/main.ts": [
|
||||
"/src/src/hkt.ts"
|
||||
"./src/main.ts": [
|
||||
"./src/hkt.ts"
|
||||
]
|
||||
},
|
||||
"semanticDiagnosticsPerFile": [
|
||||
"/lib/lib.d.ts",
|
||||
"/src/src/globals.d.ts",
|
||||
"/src/src/hkt.ts",
|
||||
"/src/src/main.ts"
|
||||
"../lib/lib.d.ts",
|
||||
"./src/globals.d.ts",
|
||||
"./src/hkt.ts",
|
||||
"./src/main.ts"
|
||||
]
|
||||
},
|
||||
"version": "FakeTSVersion"
|
||||
|
||||
+14
-14
@@ -301,11 +301,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1109,9 +1109,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1119,7 +1119,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 109,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1132,7 +1132,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 109,
|
||||
"end": 394,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 109,
|
||||
@@ -1154,7 +1154,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 156,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1167,7 +1167,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 156,
|
||||
"end": 256,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 156,
|
||||
@@ -1191,7 +1191,7 @@ sourceFile:../../third_part1.ts
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-109):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (0-109):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-109)
|
||||
var s = "Hola, world";
|
||||
@@ -1202,7 +1202,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (109-394):: /src/2/second-output.js texts:: 1
|
||||
prepend: (109-394):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (109-394)
|
||||
var N;
|
||||
@@ -1230,7 +1230,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-156):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-156):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-156)
|
||||
interface TheFirst {
|
||||
@@ -1243,7 +1243,7 @@ interface NoJsForHereEither {
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (156-256):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (156-256):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (156-256)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -396,11 +396,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1472,9 +1472,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1488,7 +1488,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 502,
|
||||
"end": 728,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 502,
|
||||
@@ -1501,7 +1501,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 728,
|
||||
"end": 1132,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 728,
|
||||
@@ -1528,7 +1528,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 207,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1541,7 +1541,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 207,
|
||||
"end": 360,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 207,
|
||||
@@ -1578,7 +1578,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
return t;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (502-728):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (502-728):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (502-728)
|
||||
var s = "Hola, world";
|
||||
@@ -1592,7 +1592,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (728-1132):: /src/2/second-output.js texts:: 1
|
||||
prepend: (728-1132):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (728-1132)
|
||||
var N;
|
||||
@@ -1626,7 +1626,7 @@ function forthirdthird_part1Rest() {
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-207):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-207):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-207)
|
||||
interface TheFirst {
|
||||
@@ -1640,7 +1640,7 @@ declare function forfirstfirst_PART1Rest(): void;
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (207-360):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (207-360):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (207-360)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -318,11 +318,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1236,9 +1236,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1270,7 +1270,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 62,
|
||||
"end": 171,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 62,
|
||||
@@ -1283,7 +1283,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 171,
|
||||
"end": 456,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 171,
|
||||
@@ -1342,7 +1342,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 156,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1355,7 +1355,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 156,
|
||||
"end": 256,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 156,
|
||||
@@ -1391,7 +1391,7 @@ prologue: (30-44):: myPrologue2
|
||||
prologue: (46-60):: myPrologue3
|
||||
"myPrologue3";
|
||||
----------------------------------------------------------------------
|
||||
prepend: (62-171):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (62-171):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (62-171)
|
||||
var s = "Hola, world";
|
||||
@@ -1402,7 +1402,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (171-456):: /src/2/second-output.js texts:: 1
|
||||
prepend: (171-456):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (171-456)
|
||||
var N;
|
||||
@@ -1430,7 +1430,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-156):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-156):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-156)
|
||||
interface TheFirst {
|
||||
@@ -1443,7 +1443,7 @@ interface NoJsForHereEither {
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (156-256):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (156-256):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (156-256)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -308,11 +308,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1128,9 +1128,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1138,7 +1138,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 33,
|
||||
"end": 142,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 33,
|
||||
@@ -1151,7 +1151,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 142,
|
||||
"end": 427,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 142,
|
||||
@@ -1173,7 +1173,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 33,
|
||||
"end": 189,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 33,
|
||||
@@ -1186,7 +1186,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 189,
|
||||
"end": 289,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 189,
|
||||
@@ -1210,7 +1210,7 @@ sourceFile:../../third_part1.ts
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (33-142):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (33-142):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (33-142)
|
||||
var s = "Hola, world";
|
||||
@@ -1221,7 +1221,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (142-427):: /src/2/second-output.js texts:: 1
|
||||
prepend: (142-427):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (142-427)
|
||||
var N;
|
||||
@@ -1249,7 +1249,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (33-189):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (33-189):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (33-189)
|
||||
interface TheFirst {
|
||||
@@ -1262,7 +1262,7 @@ interface NoJsForHereEither {
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (189-289):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (189-289):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (189-289)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -303,11 +303,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1141,9 +1141,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1157,7 +1157,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 15,
|
||||
"end": 124,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 15,
|
||||
@@ -1170,7 +1170,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 124,
|
||||
"end": 409,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 124,
|
||||
@@ -1211,7 +1211,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 156,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1224,7 +1224,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 156,
|
||||
"end": 256,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 156,
|
||||
@@ -1251,7 +1251,7 @@ File:: /src/third/thirdjs/output/third-output.js
|
||||
prologue: (0-13):: use strict
|
||||
"use strict";
|
||||
----------------------------------------------------------------------
|
||||
prepend: (15-124):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (15-124):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (15-124)
|
||||
var s = "Hola, world";
|
||||
@@ -1262,7 +1262,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (124-409):: /src/2/second-output.js texts:: 1
|
||||
prepend: (124-409):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (124-409)
|
||||
var N;
|
||||
@@ -1290,7 +1290,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-156):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-156):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-156)
|
||||
interface TheFirst {
|
||||
@@ -1303,7 +1303,7 @@ interface NoJsForHereEither {
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (156-256):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (156-256):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (156-256)
|
||||
declare namespace N {
|
||||
|
||||
+17
-17
@@ -2540,10 +2540,10 @@ sourceFile:../second/second_part2.ts
|
||||
//// [/src/2/second-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/second/",
|
||||
"commonSourceDirectory": "../second",
|
||||
"sourceFiles": [
|
||||
"/src/second/second_part1.ts",
|
||||
"/src/second/second_part2.ts"
|
||||
"../second/second_part1.ts",
|
||||
"../second/second_part2.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -2551,7 +2551,7 @@ sourceFile:../second/second_part2.ts
|
||||
"pos": 0,
|
||||
"end": 109,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -2573,7 +2573,7 @@ sourceFile:../second/second_part2.ts
|
||||
"pos": 0,
|
||||
"end": 156,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -2632,7 +2632,7 @@ sourceFile:../second/second_part2.ts
|
||||
======================================================================
|
||||
File:: /src/2/second-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-109):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (0-109):: ../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-109)
|
||||
var s = "Hola, world";
|
||||
@@ -2751,7 +2751,7 @@ var C = (function () {
|
||||
======================================================================
|
||||
File:: /src/2/second-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-156):: /src/first/bin/first-output.d.ts texts:: 2
|
||||
prepend: (0-156):: ../first/bin/first-output.d.ts texts:: 2
|
||||
>>--------------------------------------------------------------------
|
||||
internal: (0-39)
|
||||
interface TheFirst {
|
||||
@@ -3141,11 +3141,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -5257,9 +5257,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -5267,7 +5267,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 3161,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -5289,7 +5289,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 275,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -5313,7 +5313,7 @@ sourceFile:../../third_part1.ts
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-3161):: /src/2/second-output.js texts:: 1
|
||||
prepend: (0-3161):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-3161)
|
||||
var s = "Hola, world";
|
||||
@@ -5434,7 +5434,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-275):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (0-275):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-275)
|
||||
declare const s = "Hola, world";
|
||||
|
||||
+14
-14
@@ -301,11 +301,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -2417,9 +2417,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -2427,7 +2427,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 109,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -2440,7 +2440,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 109,
|
||||
"end": 3161,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 109,
|
||||
@@ -2462,7 +2462,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 115,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -2475,7 +2475,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 115,
|
||||
"end": 275,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 115,
|
||||
@@ -2499,7 +2499,7 @@ sourceFile:../../third_part1.ts
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-109):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (0-109):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-109)
|
||||
var s = "Hola, world";
|
||||
@@ -2510,7 +2510,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (109-3161):: /src/2/second-output.js texts:: 1
|
||||
prepend: (109-3161):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (109-3161)
|
||||
var N;
|
||||
@@ -2625,7 +2625,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-115):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-115):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-115)
|
||||
declare const s = "Hola, world";
|
||||
@@ -2635,7 +2635,7 @@ interface NoJsForHereEither {
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (115-275):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (115-275):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (115-275)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -358,11 +358,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1343,9 +1343,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1353,7 +1353,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 157,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1366,7 +1366,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 157,
|
||||
"end": 493,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 157,
|
||||
@@ -1406,7 +1406,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 160,
|
||||
"end": 367,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 160,
|
||||
@@ -1419,7 +1419,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 367,
|
||||
"end": 521,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 367,
|
||||
@@ -1443,7 +1443,7 @@ sourceFile:../../third_part1.ts
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-157):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (0-157):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-157)
|
||||
var s = "Hola, world";
|
||||
@@ -1455,7 +1455,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (157-493):: /src/2/second-output.js texts:: 1
|
||||
prepend: (157-493):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (157-493)
|
||||
var second_part1Const = new secondsecond_part1();
|
||||
@@ -1494,7 +1494,7 @@ reference: (47-101):: ../../../first/tripleRef.d.ts
|
||||
reference: (103-158):: ../../../second/tripleRef.d.ts
|
||||
/// <reference path="../../../second/tripleRef.d.ts" />
|
||||
----------------------------------------------------------------------
|
||||
prepend: (160-367):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (160-367):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (160-367)
|
||||
interface TheFirst {
|
||||
@@ -1508,7 +1508,7 @@ declare const first_part2Const: firstfirst_part2;
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (367-521):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (367-521):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (367-521)
|
||||
declare const second_part1Const: secondsecond_part1;
|
||||
|
||||
+14
-14
@@ -186,11 +186,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -760,9 +760,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -770,7 +770,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 127,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -783,7 +783,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 127,
|
||||
"end": 412,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 127,
|
||||
@@ -805,7 +805,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 157,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -818,7 +818,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 157,
|
||||
"end": 257,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 157,
|
||||
@@ -842,7 +842,7 @@ sourceFile:../../third_part1.ts
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.js
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-127):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (0-127):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-127)
|
||||
var s = "Hello, world";
|
||||
@@ -854,7 +854,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (127-412):: /src/2/second-output.js texts:: 1
|
||||
prepend: (127-412):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (127-412)
|
||||
var N;
|
||||
@@ -882,7 +882,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-157):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-157):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-157)
|
||||
interface TheFirst {
|
||||
@@ -895,7 +895,7 @@ interface NoJsForHereEither {
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (157-257):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (157-257):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (157-257)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -260,11 +260,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1044,9 +1044,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1060,7 +1060,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 502,
|
||||
"end": 746,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 502,
|
||||
@@ -1073,7 +1073,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 746,
|
||||
"end": 1150,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 746,
|
||||
@@ -1100,7 +1100,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 208,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1113,7 +1113,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 208,
|
||||
"end": 361,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 208,
|
||||
@@ -1150,7 +1150,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
return t;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (502-746):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (502-746):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (502-746)
|
||||
var s = "Hello, world";
|
||||
@@ -1165,7 +1165,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (746-1150):: /src/2/second-output.js texts:: 1
|
||||
prepend: (746-1150):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (746-1150)
|
||||
var N;
|
||||
@@ -1199,7 +1199,7 @@ function forthirdthird_part1Rest() {
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-208):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-208):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-208)
|
||||
interface TheFirst {
|
||||
@@ -1213,7 +1213,7 @@ declare function forfirstfirst_PART1Rest(): void;
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (208-361):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (208-361):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (208-361)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -204,11 +204,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -873,9 +873,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -889,7 +889,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 502,
|
||||
"end": 669,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 502,
|
||||
@@ -902,7 +902,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 669,
|
||||
"end": 1073,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 669,
|
||||
@@ -924,7 +924,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 208,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -937,7 +937,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 208,
|
||||
"end": 361,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 208,
|
||||
@@ -974,7 +974,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
||||
return t;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (502-669):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (502-669):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (502-669)
|
||||
var s = "Hello, world";
|
||||
@@ -987,7 +987,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (669-1073):: /src/2/second-output.js texts:: 1
|
||||
prepend: (669-1073):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (669-1073)
|
||||
var N;
|
||||
@@ -1018,7 +1018,7 @@ c.doSomething();
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-208):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-208):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-208)
|
||||
interface TheFirst {
|
||||
@@ -1032,7 +1032,7 @@ declare function forfirstfirst_PART1Rest(): void;
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (208-361):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (208-361):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (208-361)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -402,11 +402,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1579,9 +1579,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1607,7 +1607,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 1180,
|
||||
"end": 1636,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1180,
|
||||
@@ -1620,7 +1620,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 1636,
|
||||
"end": 2256,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1636,
|
||||
@@ -1649,7 +1649,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 272,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1662,7 +1662,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 272,
|
||||
"end": 491,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 272,
|
||||
@@ -1723,7 +1723,7 @@ var __spread = (this && this.__spread) || function () {
|
||||
return ar;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1180-1636):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (1180-1636):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1180-1636)
|
||||
var s = "Hello, world";
|
||||
@@ -1745,7 +1745,7 @@ function firstfirst_part3Spread() {
|
||||
firstfirst_part3Spread.apply(void 0, __spread([10, 20, 30]));
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1636-2256):: /src/2/second-output.js texts:: 1
|
||||
prepend: (1636-2256):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1636-2256)
|
||||
var N;
|
||||
@@ -1793,7 +1793,7 @@ thirdthird_part1Spread.apply(void 0, __spread([10, 20, 30]));
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-272):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-272):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-272)
|
||||
interface TheFirst {
|
||||
@@ -1808,7 +1808,7 @@ declare function f(): string;
|
||||
declare function firstfirst_part3Spread(...b: number[]): void;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (272-491):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (272-491):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (272-491)
|
||||
declare namespace N {
|
||||
|
||||
+14
-14
@@ -260,11 +260,11 @@ sourceFile:../first_part3.ts
|
||||
//// [/src/first/bin/first-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/first/",
|
||||
"commonSourceDirectory": "..",
|
||||
"sourceFiles": [
|
||||
"/src/first/first_PART1.ts",
|
||||
"/src/first/first_part2.ts",
|
||||
"/src/first/first_part3.ts"
|
||||
"../first_PART1.ts",
|
||||
"../first_part2.ts",
|
||||
"../first_part3.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1134,9 +1134,9 @@ sourceFile:../../third_part1.ts
|
||||
//// [/src/third/thirdjs/output/third-output.tsbuildinfo]
|
||||
{
|
||||
"bundle": {
|
||||
"commonSourceDirectory": "/src/third/",
|
||||
"commonSourceDirectory": "../..",
|
||||
"sourceFiles": [
|
||||
"/src/third/third_part1.ts"
|
||||
"../../third_part1.ts"
|
||||
],
|
||||
"js": {
|
||||
"sections": [
|
||||
@@ -1162,7 +1162,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 1180,
|
||||
"end": 1424,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.js",
|
||||
"data": "../../../first/bin/first-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1180,
|
||||
@@ -1175,7 +1175,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 1424,
|
||||
"end": 1925,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.js",
|
||||
"data": "../../../2/second-output.js",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 1424,
|
||||
@@ -1202,7 +1202,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 0,
|
||||
"end": 208,
|
||||
"kind": "prepend",
|
||||
"data": "/src/first/bin/first-output.d.ts",
|
||||
"data": "../../../first/bin/first-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 0,
|
||||
@@ -1215,7 +1215,7 @@ sourceFile:../../third_part1.ts
|
||||
"pos": 208,
|
||||
"end": 374,
|
||||
"kind": "prepend",
|
||||
"data": "/src/2/second-output.d.ts",
|
||||
"data": "../../../2/second-output.d.ts",
|
||||
"texts": [
|
||||
{
|
||||
"pos": 208,
|
||||
@@ -1276,7 +1276,7 @@ var __spread = (this && this.__spread) || function () {
|
||||
return ar;
|
||||
};
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1180-1424):: /src/first/bin/first-output.js texts:: 1
|
||||
prepend: (1180-1424):: ../../../first/bin/first-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1180-1424)
|
||||
var s = "Hello, world";
|
||||
@@ -1291,7 +1291,7 @@ function f() {
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (1424-1925):: /src/2/second-output.js texts:: 1
|
||||
prepend: (1424-1925):: ../../../2/second-output.js texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (1424-1925)
|
||||
var N;
|
||||
@@ -1329,7 +1329,7 @@ function forthirdthird_part1Rest() {
|
||||
======================================================================
|
||||
File:: /src/third/thirdjs/output/third-output.d.ts
|
||||
----------------------------------------------------------------------
|
||||
prepend: (0-208):: /src/first/bin/first-output.d.ts texts:: 1
|
||||
prepend: (0-208):: ../../../first/bin/first-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (0-208)
|
||||
interface TheFirst {
|
||||
@@ -1343,7 +1343,7 @@ declare function forfirstfirst_PART1Rest(): void;
|
||||
declare function f(): string;
|
||||
|
||||
----------------------------------------------------------------------
|
||||
prepend: (208-374):: /src/2/second-output.d.ts texts:: 1
|
||||
prepend: (208-374):: ../../../2/second-output.d.ts texts:: 1
|
||||
>>--------------------------------------------------------------------
|
||||
text: (208-374)
|
||||
declare namespace N {
|
||||
|
||||
Loaded 100 of 185 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user