ToddThomson / tsproject

Typescript minifier and modular typescript bundle optimizer for gulp (Ts Vinyl Adapter).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing typings definition?

danielmoore opened this issue · comments

package.json indicates there should be a tsproject.d.ts file in the root, but no such file exists in this repo or in the npm package. Is package.json wrong or was the file not emitted?

The tsproject.d.ts is not required. I will remove the reference in the next release.

How should dependent packages access the typing information for tsproject?

@danielmoore There are no type definitions for TsProject. TsProject is a gulp build tool.

gulp will happily run and interpret gulpfile.ts - in fact, that's what I'm doing right now 😄

By that I mean: you can write a gulpfile in typescript (just like you can write one in es6 with babel) and I would like to be able to use the type definitions for tsproject in my gulp tasks.

@danielmoore I've added the tsproject.d.ts file to the repository. TsProject only exports the single API method.
Please let me know if you require anything more.

The casing needs to match. 'tsproject.d.ts' !== 'TsProject.d.ts' 😢