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

14 lines
233 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;
}