Skip to content

Instantly share code, notes, and snippets.

@robwormald
Created August 8, 2018 00:57
Show Gist options
  • Save robwormald/64901a76a5c10f5b60b7495f4f430444 to your computer and use it in GitHub Desktop.
Save robwormald/64901a76a5c10f5b60b7495f4f430444 to your computer and use it in GitHub Desktop.
//existing proposal
@Component({
selector: 'foo'
})
export class MyComponent {
render(){}
}
//new proposal
export @Component({
selector: 'foo'
})
class MyComponent {
render(){}
}
//or (legal!)
export
@Component({
selector: 'foo'
})
class MyComponent {
render(){}
}
//or :(
export @Component({
selector: 'foo'
}) class MyComponent {
render(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment