mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix implicit any issues
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
import gulp = require('gulp');
|
||||
import sort = require('gulp-sort');
|
||||
import gulpUtil = require('gulp-util');
|
||||
|
||||
// default sort
|
||||
gulp.src('./src/js/**/*.js')
|
||||
@@ -38,7 +39,7 @@ gulp.src('./src/js/**/*.js')
|
||||
}))
|
||||
.pipe(gulp.dest('./build/js'));
|
||||
|
||||
function customComparator(file1, file2) {
|
||||
function customComparator(file1: gulpUtil.File, file2: gulpUtil.File) {
|
||||
if (file1.path.indexOf('build') > -1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@ declare module 'gulp-sort' {
|
||||
*/
|
||||
comparator?: IComparatorFunction;
|
||||
/** Whether to sort in ascending order, default is true */
|
||||
asc?;
|
||||
asc?: boolean;
|
||||
}
|
||||
|
||||
interface IComparatorFunction {
|
||||
|
||||
Reference in New Issue
Block a user