Completed
This commit is contained in:
4
test/snapshots/constructor/input.txt
Normal file
4
test/snapshots/constructor/input.txt
Normal file
@ -0,0 +1,4 @@
|
||||
@classDecorator
|
||||
class A {
|
||||
@prop string: string;
|
||||
}
|
8
test/snapshots/constructor/output.txt
Normal file
8
test/snapshots/constructor/output.txt
Normal file
@ -0,0 +1,8 @@
|
||||
import { __decorate } from "tslib";
|
||||
|
||||
let A = class A {
|
||||
string: string;
|
||||
}
|
||||
|
||||
__decorate([prop], A.prototype, "string", void 0);
|
||||
A = __decorate([classDecorator], A);
|
Reference in New Issue
Block a user