Support static members
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
class A {
|
||||
@dec prop: string
|
||||
@dec @dec2 prop2: string
|
||||
@dec static staticProp: number
|
||||
}
|
||||
|
@ -3,7 +3,9 @@ import { __decorate } from "tslib"
|
||||
class A {
|
||||
prop: string;
|
||||
prop2: string;
|
||||
static staticProp: number;
|
||||
}
|
||||
|
||||
__decorate([dec], A.prototype, "prop", void 0);
|
||||
__decorate([dec, dec2], A.prototype, "prop2", void 0);
|
||||
__decorate([dec, dec2], A.prototype, "prop2", void 0);
|
||||
__decorate([dec], A, "staticProp", void 0);
|
Reference in New Issue
Block a user