Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De-uglify Typescript's doc-comment indentation #6

Closed
poelstra opened this issue Jun 27, 2014 · 3 comments
Closed

De-uglify Typescript's doc-comment indentation #6

poelstra opened this issue Jun 27, 2014 · 3 comments

Comments

@poelstra
Copy link

Typescript removes the first space before the stars of doc comments, e.g.:

class Foo {
    /**
     * Bars the foo.
     */
    bar() {
    }
}

is mangled to:

class Foo {
    /**
    * Bars the foo.
    */
    bar() {
    }
}

It would be nice to be able to automatically produce quality typings that look great, so maybe some extra re-indenting would help here.

@jeffmay
Copy link

jeffmay commented Jun 27, 2014

Is this a reported bug for the typescript compiler?

@poelstra
Copy link
Author

@Bartvds
Copy link
Member

Bartvds commented Jun 27, 2014

Sure, can be easily fixed when implementing #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants