Skip to content

Commit 8e23b40

Browse files
committed
Including missing export.
1 parent 94e11fe commit 8e23b40

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

common/reviews/api/rush-stack-compiler-3.2.api.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
class ApiExtractorRunner extends RushStackCompilerBase {
33
constructor(extractorConfig: IExtractorConfig, extractorOptions: IExtractorOptions, rootPath: string, terminalProvider: ITerminalProvider);
44
// (undocumented)
5+
static apiExtractor: typeof ApiExtractor;
6+
// (undocumented)
57
invoke(): Promise<void>;
68
}
79

@@ -14,6 +16,11 @@ interface ITslintRunnerConfig {
1416
fileWarning: WriteFileIssueFunction;
1517
}
1618

19+
// @beta (undocumented)
20+
interface ITypescriptCompilerOptions {
21+
customArgs?: string[];
22+
}
23+
1724
// @beta (undocumented)
1825
class RushStackCompilerBase<TOptions = {}> {
1926
constructor(taskOptions: TOptions, rootPath: string, terminalProvider: ITerminalProvider);
@@ -56,7 +63,7 @@ class TslintRunner extends RushStackCompilerBase<ITslintRunnerConfig> {
5663
}
5764

5865
// @beta (undocumented)
59-
class TypescriptCompiler extends RushStackCompilerBase {
66+
class TypescriptCompiler extends RushStackCompilerBase<ITypescriptCompilerOptions> {
6067
constructor(rootPath: string, terminalProvider: ITerminalProvider);
6168
// (undocumented)
6269
invoke(): Promise<void>;

stack/rush-stack-compiler-shared/src/shared/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616

1717
export { RushStackCompilerBase } from './RushStackCompilerBase';
1818
export { ApiExtractorRunner } from './ApiExtractorRunner';
19-
export { TypescriptCompiler } from './TypescriptCompiler';
19+
export {
20+
TypescriptCompiler,
21+
ITypescriptCompilerOptions
22+
} from './TypescriptCompiler';
2023
export {
2124
WriteFileIssueFunction,
2225
ITslintRunnerConfig,

0 commit comments

Comments
 (0)