ivogabe / gulp-typescript

A TypeScript compiler for gulp with incremental compilation support.
MIT License
822 stars 129 forks source link

How to generate only .d.ts files without transforming .ts to .js ? #684

Closed Mingeax closed 5 months ago

Mingeax commented 5 months ago

Sometimes I just want to generate .d.ts from .ts in gulp. But it seems that gulp-typescript doesn't have relative options. Did I miss something, or itself does unsupport this function?

Mingeax commented 5 months ago

I saw it, just use emitDeclarationOnly: true.