Skip to content

gulp type and gulp typescript

ivogabe edited this page Sep 21, 2014 · 1 revision

Before version 2.0.0, this project was called gulp-type. It has been merged with gulp-typescript by @ sindresorhus. The new version is based on the source of gulp-type and it has been named gulp-typescript. The new api is compatible with the api's of the two old libs, so this work:

gulp.src('lib/**.ts')
    .pipe(ts())
    .pipe(gulp.dest('release'));

And this works:

var tsResult = gulp.src('lib/**.ts')
    .pipe(ts());

tsResult.js.pipe(gulp.dest('release'));

gulp-type had version number 0.3.0 before the merge and gulp-typescript 1.0.0. The first new release had version number 2.0.0.

Clone this wiki locally