Format output (indentation)

Issue #49 resolved
Anonymous created an issue

Currently TypeLite indents properties within interfaces and enums, but it would be great it if it would also indent interfaces within modules as well.

Current output:

declare module foo {
interface Bar {
    Prop: number;
}
}

Proposed output:

declare module foo {
    interface Bar {
        Prop: number;
    }
}

P.S. Thanks for the recent updates enhancing enum support. They allowed our team to remove lots of messy code we added to get the output how we needed it :)

Comments (1)

  1. Log in to comment