File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 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";
333333
334334const lintFoldStart = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . start ( "lint" ) ) ; } ;
335335const lintFoldEnd = async ( ) => { if ( fold . isTravis ( ) ) console . log ( fold . end ( "lint" ) ) ; } ;
336+
337+ /** @type { (folder: string) => { (): Promise<any>; displayName?: string } } */
336338const eslint = ( folder ) => async ( ) => {
337339 const ESLINTRC_CI = ".eslintrc.ci.json" ;
338340 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" {
7676 interface TaskFunctionParams {
7777 flags ?: Record < string , string > ;
7878 }
79+ interface TaskFunctionWrapped {
80+ description : string
81+ flags : { [ name : string ] : string }
82+ }
7983}
8084
8185declare module "gulp-sourcemaps" {
8286 interface WriteOptions {
8387 destPath ?: string ;
8488 }
85- }
89+
90+ }
You can’t perform that action at this time.
0 commit comments