Add test for parameter decorator in construtor function
This commit is contained in:
@ -8,3 +8,8 @@ class A {
|
||||
|
||||
_decorate([__param(1, Arg())], A.prototype, "method1", null);
|
||||
_decorate([__param(0, Arg()), __param(1, Arg())], A.prototype, "method2", null);
|
||||
|
||||
let B = class B {
|
||||
constructor(a: string) {}
|
||||
};
|
||||
B = _decorate([__param(0, Arg())], B);
|
Reference in New Issue
Block a user