Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

TypeScript #17

Open
FrancescoBorzi opened this issue Sep 9, 2015 · 0 comments
Open

TypeScript #17

FrancescoBorzi opened this issue Sep 9, 2015 · 0 comments

Comments

@FrancescoBorzi
Copy link

The plugin doesn't behave well for TypeScript.

Try to ctrl+alt+i the following code and you will see the bad indentation:

    // Annotation section
    @Component({
      selector: 'my-app'
    })
    @View({
      template: '<h1>Hello {{ name }}</h1>'
    })
    // Component controller
    class MyAppComponent {
      name: string;
      constructor() {
        this.name = 'Alice';
      }
    }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant