13 lines
179 B
TypeScript
13 lines
179 B
TypeScript
|
// @experimentalDecorators: true
|
||
|
interface I<T> {
|
||
|
prototype: T,
|
||
|
m: () => T
|
||
|
}
|
||
|
function dec<T>(c: I<T>) { }
|
||
|
|
||
|
@dec
|
||
|
class C {
|
||
|
_brand: any;
|
||
|
static m() {}
|
||
|
}
|