swc/crates/swc_ecma_codegen/tests/fixture/issues/4344/output.ts

12 lines
240 B
TypeScript
Raw Normal View History

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