GulpFlow Class
GulpFlow is a Gulp plugin for type-checking code with flow
.
Constructor
GulpFlow
()
Methods
check
()
Function
Check for type errors and store them in this.results
.
Only compatible with buffers at the moment.
Returns:
Function:
A gulp-compatible stream.
failReporter
()
Function
Fail the task if there are any results.
Returns:
Function:
A gulp-compatible stream.
markdownReporter
()
Function
Dump the results to the console in a custom Markdown format.
Returns:
Function:
A gulp-compatible stream.
reporter
()
Function
Dump the results of the type check to the command line.
Returns:
Function:
A gulp-compatible stream.
Properties
options
String
private
Options to pass to the flow
binary.
PLUGIN_NAME
String
Name of this plugin.