Skip to content

Commit 6f35ad4

Browse files
committed
Making APIs as internal so that we can enable them after we have figured out final details
1 parent 898559b commit 6f35ad4

File tree

4 files changed

+7
-366
lines changed

4 files changed

+7
-366
lines changed

src/compiler/builder.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,7 @@ namespace ts {
1818
text: string;
1919
}
2020

21-
export interface ChangedProgramFiles {
22-
/** Minimal set of list of files that require emit */
23-
readonly filesToEmit: ReadonlyArray<string>;
24-
/** File paths of source files changed/added/removed or affected by changed files */
25-
readonly changedFiles: ReadonlyArray<string>;
26-
}
27-
21+
/* @internal */
2822
export interface Builder {
2923
/**
3024
* This is the callback when file infos in the builder are updated
@@ -97,6 +91,7 @@ namespace ts {
9791
signature: string;
9892
}
9993

94+
/* @internal */
10095
export function createBuilder(
10196
getCanonicalFileName: (fileName: string) => string,
10297
getEmitOutput: (program: Program, sourceFile: SourceFile, emitOnlyDtsFiles: boolean, isDetailed: boolean) => EmitOutput | EmitOutputDetailed,

src/compiler/watch.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/// <reference path="builder.ts" />
33
/// <reference path="resolutionCache.ts"/>
44

5+
/* @internal */
56
namespace ts {
67
export type DiagnosticReporter = (diagnostic: Diagnostic) => void;
78
export type ParseConfigFile = (configFileName: string, optionsToExtend: CompilerOptions, system: DirectoryStructureHost, reportDiagnostic: DiagnosticReporter, reportWatchDiagnostic: DiagnosticReporter) => ParsedCommandLine;

src/server/builder.ts

-359
This file was deleted.

0 commit comments

Comments
 (0)