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