mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-31 03:50:31 +00:00
* Fix first round of weak type errors Done through griddle-react * 95% done with weak type fixes * Fix last couple of weak type errors * Remove some lint from mithril tests * mithril's Lifecycle is not a weak type any more Restore the Lifecycle constraints in the rest of the definitions. * Fix react-redux tests after #16652 broke them * Remove package-lock.json
23 lines
470 B
TypeScript
23 lines
470 B
TypeScript
import gulp = require('gulp');
|
|
import del = require('del');
|
|
import paths = require('vinyl-paths');
|
|
|
|
gulp.task('delete', function () {
|
|
return gulp.src('app/*')
|
|
.pipe(paths(del));
|
|
});
|
|
|
|
// or if you need to use the paths after the pipeline
|
|
gulp.task('delete2', function (cb: Function) {
|
|
var vp = paths();
|
|
|
|
gulp.src('app/*')
|
|
.pipe(vp)
|
|
.pipe(gulp.dest('dist'))
|
|
.on('end', function () {
|
|
del(vp.paths);
|
|
});
|
|
});
|
|
|
|
|