TypeScript/tests/cases/conformance/decorators/class/decoratedClassExportsCommonJS2.ts
Yui 9886f88004 [Release-2.0] Fix 9685: missing decoratedClassAlias emit in self-reference decorated class (#9763)
* Wip

* Fix incorrect emit decorated class alias when targeting es6 or higher

* Add tests and baselines

* Remove unused test file
2016-07-18 08:48:12 -07:00

10 lines
No EOL
255 B
TypeScript

// @target: es6
// @experimentaldecorators: true
// @emitDecoratorMetadata: true
// @module: commonjs
// @filename: a.ts
declare function forwardRef(x: any): any;
declare var Something: any;
@Something({ v: () => Testing123 })
export class Testing123 { }