@types/gulp
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -17,2 +17,3 @@ // Type definitions for Gulp v4.0.x | ||
interface Gulp extends Orchestrator { | ||
task(name: string): never; | ||
/** | ||
@@ -28,4 +29,16 @@ * Define a task | ||
*/ | ||
task: Orchestrator.AddMethod; | ||
task(name: string, fn?: Orchestrator.TaskFunc): Gulp; | ||
/** | ||
* Define a task | ||
* @param name The name of the task. | ||
* @param deps An array of task names to be executed and completed before your task will run. | ||
* @param fn The function that performs the task's operations. For asynchronous tasks, you need to provide a hint when the task is complete: | ||
* <ul> | ||
* <li>Take in a callback</li> | ||
* <li>Return a stream or a promise</li> | ||
* </ul> | ||
*/ | ||
task(name: string, deps?: string[], fn?: Orchestrator.TaskFunc): Gulp; | ||
/** | ||
* Takes a number of task names or functions and returns a function of the composed tasks or functions | ||
@@ -32,0 +45,0 @@ * When the returned function is executed, the tasks or functions will be executed in series, |
{ | ||
"name": "@types/gulp", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "TypeScript definitions for Gulp", | ||
@@ -28,4 +28,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "71587133d109ec805fcd22c59490bbfec23bf68fce9c4a2781a9cc829b27b204", | ||
"typesPublisherContentHash": "585a7600079ae0d83b153f7b09fdb83a99f8f2c60c4990b542f765423cd3c6da", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/gulp | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp | ||
Additional Details | ||
* Last updated: Thu, 16 Mar 2017 14:36:06 GMT | ||
* Last updated: Thu, 18 May 2017 22:08:23 GMT | ||
* Dependencies: orchestrator, vinyl, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19197
4
329