File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,8 @@ task("run-eslint-rules-tests").description = "Runs the eslint rule tests";
333
333
334
334
const lintFoldStart = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . start ( "lint" ) ) ; } ;
335
335
const lintFoldEnd = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . end ( "lint" ) ) ; } ;
336
+
337
+ /** @type { (folder: string) => { (): Promise<any>; displayName?: string } } */
336
338
const eslint = ( folder ) => async ( ) => {
337
339
const ESLINTRC_CI = ".eslintrc.ci.json" ;
338
340
const isCIEnv = cmdLineOptions . ci || process . env . CI === "true" ;
Original file line number Diff line number Diff line change @@ -76,10 +76,15 @@ declare module "undertaker" {
76
76
interface TaskFunctionParams {
77
77
flags ?: Record < string , string > ;
78
78
}
79
+ interface TaskFunctionWrapped {
80
+ description : string
81
+ flags : { [ name : string ] : string }
82
+ }
79
83
}
80
84
81
85
declare module "gulp-sourcemaps" {
82
86
interface WriteOptions {
83
87
destPath ?: string ;
84
88
}
85
- }
89
+
90
+ }
You can’t perform that action at this time.
0 commit comments