mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add gulp-batch declaration files (#14832)
This commit is contained in:
committed by
Mohamed Hegazy
parent
a871ef4a10
commit
fd21da7d92
@@ -0,0 +1,8 @@
|
||||
import * as gulp from "gulp";
|
||||
import * as batch from "gulp-batch";
|
||||
|
||||
gulp.task('default', function() {
|
||||
gulp.watch([ 'lib/**', 'test/**' ], batch((events: any, cb: any) => {
|
||||
events.on('data', console.log).on('end', cb);
|
||||
}));
|
||||
});
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// Type definitions for gulp-batch 1.0
|
||||
// Project: https://github.com/floatdrop/gulp-batch
|
||||
// Definitions by: Alvaro Menezes <https://github.com/alvarollmenezes>, Vinicius Salomao <https://github.com/vizeke>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function batch(opts?: any, cb?: any, errorHandler?: any): (event: any) => void;
|
||||
declare namespace batch { }
|
||||
export = batch;
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"gulp-batch-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
Reference in New Issue
Block a user