TypeStrong / dts-bundle

Export TypeScript .d.ts files as an external module definition
MIT License
308 stars 57 forks source link

jsdoc comments aborts processing #10

Closed joewood closed 8 years ago

joewood commented 9 years ago

If a typescript file contains a simple jsdoc single line comment processing on that file is aborted midway through. Example


export interface IFoo {
    /** comment */
    doSomething();
}

This would generate:

declare module '__proj/mod' {

    export interface IFoo {

}

Note the mismatch braces as processing has been aborted midway through the interface.