mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
Merge pull request #5349 from stephenlautier/master
gulp-typescript - added createProject overload
This commit is contained in:
@@ -26,6 +26,11 @@ var tsProject = typescript.createProject({
|
||||
noExternalResolve: true
|
||||
});
|
||||
|
||||
|
||||
var mainTscProject = typescript.createProject("tsconfig.json", {
|
||||
target: "es6"
|
||||
});
|
||||
|
||||
gulp.task('scripts', function() {
|
||||
var tsResult = gulp.src('lib/*.ts')
|
||||
.pipe(typescript(tsProject));
|
||||
|
||||
Vendored
+1
@@ -10,6 +10,7 @@ declare module "gulp-typescript" {
|
||||
|
||||
module GulpTypescript {
|
||||
export function createProject(params: Params): Params;
|
||||
export function createProject(file: string, params: Params): Params;
|
||||
export function filter(filters: FilterSettings): CompilationStream;
|
||||
interface Params {
|
||||
declarationFiles?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user