11export declare function addSuppression ( str : string ) : void ;
22
33class ApiExtractorTask extends GulpTask < IApiExtractorTaskConfig > {
4- // (undocumented)
54 executeTask ( gulp : gulp . Gulp , completeCallback : ( error ?: string ) => void ) : NodeJS . ReadWriteStream ;
6- // (undocumented)
75 loadSchema ( ) : Object ;
8- // (undocumented)
96 name : string ;
10- // (undocumented)
117 taskConfig : IApiExtractorTaskConfig ;
128}
139
@@ -74,10 +70,8 @@ class GulpTask<TASK_CONFIG> implements IExecutable {
7470 taskConfig : TASK_CONFIG ;
7571}
7672
77- // (undocumented)
7873interface IBuildConfig {
7974 args ?: {
80- // (undocumented)
8175 [ name : string ] : string | boolean ;
8276 }
8377 buildErrorIconPath ?: string ;
@@ -92,7 +86,6 @@ interface IBuildConfig {
9286 packageFolder ?: string ;
9387 production ?: boolean ;
9488 properties ?: {
95- // (undocumented)
9689 [ key : string ] : any ;
9790 }
9891 relogIssues ?: boolean ;
@@ -107,18 +100,15 @@ interface IBuildConfig {
107100
108101interface ICopyConfig {
109102 copyTo : {
110- // (undocumented)
111103 [ destPath : string ] : string [ ] ;
112104 }
113105 shouldFlatten ?: boolean ;
114106}
115107
116108interface ICustomGulpTask {
117- // (undocumented)
118109 ( gulp : gulp . Gulp | GulpProxy , buildConfig : IBuildConfig , done : ( failure ?: Object ) => void ) : Promise < Object > | NodeJS . ReadWriteStream | void ;
119110}
120111
121- // (undocumented)
122112interface IExecutable {
123113 execute : ( config : IBuildConfig ) => Promise < void > ;
124114 getCleanMatch ?: ( config : IBuildConfig , taskConfig ?: any ) => string [ ] ;
@@ -129,20 +119,19 @@ interface IExecutable {
129119
130120export declare function initialize ( gulp : gulp . Gulp ) : void ;
131121
132- // (undocumented)
133122interface ITsConfigFile < T > {
134- // (undocumented)
135123 compilerOptions : T ;
136124}
137125
138- // (undocumented)
139126interface IWebpackTaskConfig {
140127 config ?: Webpack . Configuration ;
141128 configPath : string ;
142129 suppressWarnings ?: ( string | RegExp ) [ ] ;
143130 webpack ?: typeof Webpack ;
144131}
145132
133+ export declare function log ( ...args : Array < string | Chalk . ChalkChain > ) : void ;
134+
146135export declare function logSummary ( value : string ) : void ;
147136
148137export declare function mergeConfig ( config : IBuildConfig ) : void ;
@@ -155,10 +144,8 @@ export declare function replaceConfig(config: IBuildConfig): void;
155144export declare function reset ( ) : void ;
156145
157146class SchemaValidator {
158- // (undocumented)
159147 static getFormattedErrorMessage ( errors : Validator . SchemaErrorDetail [ ] , dataFilePath ?: string ) : string ;
160148 static readAndValidateJson < TResult > ( dataFilePath : string , schemaFilePath : string ) : TResult ;
161- // (undocumented)
162149 static readCommentedJsonFile < TResult > ( filename : string ) : TResult ;
163150 static validate ( data : Object , schema : Object , dataFilePath ?: string ) : void ;
164151}
@@ -172,37 +159,25 @@ export declare function subTask(taskName: string, fn: ICustomGulpTask): IExecuta
172159export declare function task ( taskName : string , task : IExecutable ) : IExecutable ;
173160
174161enum TestResultState {
175- // (undocumented)
176162 Failed = 1 ,
177- // (undocumented)
178163 FlakyFailed = 2 ,
179- // (undocumented)
180164 Passed = 0 ,
181- // (undocumented)
182165 Skipped = 3
183166}
184167
185- // (undocumented)
186168class TypeScriptConfiguration {
187169 static getGulpTypescriptOptions ( buildConfig : IBuildConfig ) : ITsConfigFile < ts . Settings > ;
188170 static getTypescriptCompiler ( ) : any ;
189- // (undocumented)
190171 static getTypescriptOptions ( buildConfig : IBuildConfig ) : ITsConfigFile < typescript . CompilerOptions > ;
191172 static setTypescriptCompiler ( typescript : any ) : void ;
192173}
193174
194- // (undocumented)
195175class TypeScriptTask extends GulpTask < ITypeScriptTaskConfig > {
196- // (undocumented)
197176 executeTask ( gulp : gulpType . Gulp , completeCallback : ( result ?: string ) => void ) : void ;
198- // (undocumented)
199177 getCleanMatch ( buildConfig : IBuildConfig , taskConfig ?: ITypeScriptTaskConfig ) : string [ ] ;
200- // (undocumented)
201178 loadSchema ( ) : Object ;
202179 mergeConfig ( config : ITypeScriptTaskConfig ) : void ;
203- // (undocumented)
204180 name : string ;
205- // (undocumented)
206181 taskConfig : ITypeScriptTaskConfig ;
207182}
208183
@@ -217,19 +192,12 @@ export declare function warn(...args: Array<string | Chalk.ChalkChain>): void;
217192
218193export declare function watch ( watchMatch : string | string [ ] , task : IExecutable ) : IExecutable ;
219194
220- // (undocumented)
221195class WebpackTask extends GulpTask < IWebpackTaskConfig > {
222- // (undocumented)
223196 executeTask ( gulp : gulp . Gulp , completeCallback : ( result ?: Object ) => void ) : void ;
224- // (undocumented)
225197 isEnabled ( buildConfig : IBuildConfig ) : boolean ;
226- // (undocumented)
227198 loadSchema ( ) : Object ;
228- // (undocumented)
229199 name : string ;
230- // (undocumented)
231200 resources : Object ;
232- // (undocumented)
233201 taskConfig : IWebpackTaskConfig ;
234202}
235203
0 commit comments