basarat/grunt-ts — pull request #5 by staxmanade (2013-09-02 17:47:10+00:00)
Title: Fixes: tool attempting to compile a directory ending in .ts

If you use the [tsd](http://www.tsdpm.com/) to bring in [DefinitelyTyped](https://github.com/DefinitelyTyped) TypeScript definitions, it creates a folder `.d.ts/DefinitelyTyped//` where the root folder `d.ts` was being passed into the `tsc` compiler causing the following error.

Compiling.
error TS5012: Cannot read file 'C:/code/grunt-ts/test/DefinitelyTypedTest/d.ts': UNKNOWN, unknown error
>> Compilation failed