2015-11-13 03:11:07 +01:00
|
|
|
// @target: ES6
|
2015-11-13 03:24:04 +01:00
|
|
|
// @experimentalDecorators: true
|
2015-11-13 03:11:07 +01:00
|
|
|
// @module: amd
|
2015-12-01 23:05:46 +01:00
|
|
|
// @filename: a.ts
|
2015-11-13 03:11:07 +01:00
|
|
|
var decorator: ClassDecorator;
|
|
|
|
|
|
|
|
@decorator
|
|
|
|
export default class Foo {}
|
2015-12-01 23:05:46 +01:00
|
|
|
|
|
|
|
// @filename: b.ts
|
|
|
|
var decorator: ClassDecorator;
|
|
|
|
|
|
|
|
@decorator
|
|
|
|
export default class {}
|