14 lines
251 B
TypeScript
14 lines
251 B
TypeScript
|
// @experimentalDecorators: true
|
||
|
// @emitDecoratorMetadata: true
|
||
|
// @target: es5
|
||
|
// @module: commonjs
|
||
|
declare var decorator: any;
|
||
|
|
||
|
class X {
|
||
|
@decorator()
|
||
|
a?: string?;
|
||
|
@decorator()
|
||
|
b?: string!;
|
||
|
@decorator()
|
||
|
c?: *;
|
||
|
}
|