mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
Merge pull request #7102 from glen-84/gulp-typescript-add-ts-config
gulp-typescript: Add TsConfig
This commit is contained in:
@@ -60,3 +60,7 @@ gulp.task('default', function () {
|
||||
.pipe(typescript())
|
||||
.pipe(gulp.dest('built/local'));
|
||||
});
|
||||
|
||||
var compilerOptions = tsProject.config.compilerOptions;
|
||||
var exclude = tsProject.config.exclude;
|
||||
var files = tsProject.config.files;
|
||||
|
||||
9
gulp-typescript/gulp-typescript.d.ts
vendored
9
gulp-typescript/gulp-typescript.d.ts
vendored
@@ -37,8 +37,15 @@ declare module "gulp-typescript" {
|
||||
isolatedModules?: boolean;
|
||||
}
|
||||
|
||||
interface TsConfig {
|
||||
files?: string[];
|
||||
exclude?: string[];
|
||||
compilerOptions?: any;
|
||||
}
|
||||
|
||||
interface Project {
|
||||
src(): NodeJS.ReadWriteStream
|
||||
config: TsConfig;
|
||||
src(): NodeJS.ReadWriteStream;
|
||||
}
|
||||
|
||||
interface FilterSettings {
|
||||
|
||||
Reference in New Issue
Block a user