Created
August 8, 2018 00:57
-
-
Save robwormald/64901a76a5c10f5b60b7495f4f430444 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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