9 lines
No EOL
130 B
TypeScript
9 lines
No EOL
130 B
TypeScript
// @target:es6
|
|
// @experimentaldecorators: true
|
|
declare function dec<T>(target: T): T;
|
|
|
|
@dec
|
|
class C {
|
|
}
|
|
|
|
let c = new C(); |