Add more tests
This commit is contained in:
@ -2,4 +2,11 @@ class A {
|
||||
@dec prop: string
|
||||
@dec @dec2 prop2: string
|
||||
@dec static staticProp: number
|
||||
@called() service: Service
|
||||
ignored: boolean
|
||||
}
|
||||
|
||||
@Service()
|
||||
export class B {
|
||||
@Service() remote!: Service
|
||||
}
|
@ -4,8 +4,18 @@ class A {
|
||||
prop: string;
|
||||
prop2: string;
|
||||
static staticProp: number;
|
||||
service: Service;
|
||||
ignored: boolean;
|
||||
}
|
||||
|
||||
__decorate([dec], A.prototype, "prop", void 0);
|
||||
__decorate([dec, dec2], A.prototype, "prop2", void 0);
|
||||
__decorate([dec], A, "staticProp", void 0);
|
||||
__decorate([dec], A, "staticProp", void 0);
|
||||
__decorate([called()], A.prototype, "service", void 0);
|
||||
|
||||
let B = class B {
|
||||
remote: Service;
|
||||
};
|
||||
__decorate([Service()], B.prototype, "remote", void 0);
|
||||
B = __decorate([Service()], B);
|
||||
export { B };
|
Reference in New Issue
Block a user