Files
test-repo/tests/decorators/comments.js
T
Christopher Chedeau 42b0368e3d Fix decorator comments for export class (#2038)
We need to do the same location trick for export class unfortunately.

Fixes #1956
2017-06-07 14:55:55 -07:00

25 lines
273 B
JavaScript

var x = 100
@Hello({
a: 'a', // Comment is in the wrong place
// test
b: '2'
})
class X {
}
@NgModule({
// Imports.
imports: [
// Angular modules.
BrowserModule,
// App modules.
CoreModule,
SharedModule,
],
})
export class AppModule {}