TypeScript/tests/cases/conformance/decorators/decoratorCallGeneric.ts
2015-10-12 17:38:55 -07:00

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() {}
}