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,7 +70,6 @@ class GulpTask<TASK_CONFIG> implements IExecutable {
7470 taskConfig : TASK_CONFIG ;
7571}
7672
77- // (undocumented)
7873interface IBuildConfig {
7974 args ?: {
8075 [ name : string ] : string | boolean ;
@@ -111,11 +106,9 @@ interface ICopyConfig {
111106}
112107
113108interface ICustomGulpTask {
114- // (undocumented)
115109 ( gulp : gulp . Gulp | GulpProxy , buildConfig : IBuildConfig , done : ( failure ?: Object ) => void ) : Promise < Object > | NodeJS . ReadWriteStream | void ;
116110}
117111
118- // (undocumented)
119112interface IExecutable {
120113 execute : ( config : IBuildConfig ) => Promise < void > ;
121114 getCleanMatch ?: ( config : IBuildConfig , taskConfig ?: any ) => string [ ] ;
@@ -126,20 +119,19 @@ interface IExecutable {
126119
127120export declare function initialize ( gulp : gulp . Gulp ) : void ;
128121
129- // (undocumented)
130122interface ITsConfigFile < T > {
131- // (undocumented)
132123 compilerOptions : T ;
133124}
134125
135- // (undocumented)
136126interface IWebpackTaskConfig {
137127 config ?: Webpack . Configuration ;
138128 configPath : string ;
139129 suppressWarnings ?: ( string | RegExp ) [ ] ;
140130 webpack ?: typeof Webpack ;
141131}
142132
133+ export declare function log ( ...args : Array < string | Chalk . ChalkChain > ) : void ;
134+
143135export declare function logSummary ( value : string ) : void ;
144136
145137export declare function mergeConfig ( config : IBuildConfig ) : void ;
@@ -152,10 +144,8 @@ export declare function replaceConfig(config: IBuildConfig): void;
152144export declare function reset ( ) : void ;
153145
154146class SchemaValidator {
155- // (undocumented)
156147 static getFormattedErrorMessage ( errors : Validator . SchemaErrorDetail [ ] , dataFilePath ?: string ) : string ;
157148 static readAndValidateJson < TResult > ( dataFilePath : string , schemaFilePath : string ) : TResult ;
158- // (undocumented)
159149 static readCommentedJsonFile < TResult > ( filename : string ) : TResult ;
160150 static validate ( data : Object , schema : Object , dataFilePath ?: string ) : void ;
161151}
@@ -169,37 +159,25 @@ export declare function subTask(taskName: string, fn: ICustomGulpTask): IExecuta
169159export declare function task ( taskName : string , task : IExecutable ) : IExecutable ;
170160
171161enum TestResultState {
172- // (undocumented)
173162 Failed = 1 ,
174- // (undocumented)
175163 FlakyFailed = 2 ,
176- // (undocumented)
177164 Passed = 0 ,
178- // (undocumented)
179165 Skipped = 3
180166}
181167
182- // (undocumented)
183168class TypeScriptConfiguration {
184169 static getGulpTypescriptOptions ( buildConfig : IBuildConfig ) : ITsConfigFile < ts . Settings > ;
185170 static getTypescriptCompiler ( ) : any ;
186- // (undocumented)
187171 static getTypescriptOptions ( buildConfig : IBuildConfig ) : ITsConfigFile < typescript . CompilerOptions > ;
188172 static setTypescriptCompiler ( typescript : any ) : void ;
189173}
190174
191- // (undocumented)
192175class TypeScriptTask extends GulpTask < ITypeScriptTaskConfig > {
193- // (undocumented)
194176 executeTask ( gulp : gulpType . Gulp , completeCallback : ( result ?: string ) => void ) : void ;
195- // (undocumented)
196177 getCleanMatch ( buildConfig : IBuildConfig , taskConfig ?: ITypeScriptTaskConfig ) : string [ ] ;
197- // (undocumented)
198178 loadSchema ( ) : Object ;
199179 mergeConfig ( config : ITypeScriptTaskConfig ) : void ;
200- // (undocumented)
201180 name : string ;
202- // (undocumented)
203181 taskConfig : ITypeScriptTaskConfig ;
204182}
205183
@@ -214,19 +192,12 @@ export declare function warn(...args: Array<string | Chalk.ChalkChain>): void;
214192
215193export declare function watch ( watchMatch : string | string [ ] , task : IExecutable ) : IExecutable ;
216194
217- // (undocumented)
218195class WebpackTask extends GulpTask < IWebpackTaskConfig > {
219- // (undocumented)
220196 executeTask ( gulp : gulp . Gulp , completeCallback : ( result ?: Object ) => void ) : void ;
221- // (undocumented)
222197 isEnabled ( buildConfig : IBuildConfig ) : boolean ;
223- // (undocumented)
224198 loadSchema ( ) : Object ;
225- // (undocumented)
226199 name : string ;
227- // (undocumented)
228200 resources : Object ;
229- // (undocumented)
230201 taskConfig : IWebpackTaskConfig ;
231202}
232203
0 commit comments