swc/crates/swc_ecma_codegen/tests/fixture/issues/4344/output.ts
2022-04-17 12:05:47 +00:00

12 lines
240 B
TypeScript

function logParameter(target: Object, propertyName: string) {
console.log(target, propertyName);
}
function logClass(target: Function) {
console.log(target);
}
@logClass
export class Employee {
@logParameter
name: string;
}