Completed
This commit is contained in:
6
test/snapshots/params/input.txt
Normal file
6
test/snapshots/params/input.txt
Normal file
@ -0,0 +1,6 @@
|
||||
import { __decorate } from "tslib"
|
||||
|
||||
class A {
|
||||
method1(skipped: string, @Arg() b: string) {}
|
||||
method2(@Arg() a: string, @Arg() b: string) {}
|
||||
}
|
10
test/snapshots/params/output.txt
Normal file
10
test/snapshots/params/output.txt
Normal file
@ -0,0 +1,10 @@
|
||||
import { __param, __decorate as _decorate } from "tslib";
|
||||
import { __decorate } from "tslib";
|
||||
|
||||
class A {
|
||||
method1(skipped: string, b: string) {}
|
||||
method2(a: string, b: string) {}
|
||||
}
|
||||
|
||||
_decorate([__param(1, Arg())], A.prototype, "method1", null);
|
||||
_decorate([__param(0, Arg()), __param(1, Arg())], A.prototype, "method2", null);
|
Reference in New Issue
Block a user