aboutsummaryrefslogtreecommitdiff
path: root/test/transpiler/decorator-export-default-class-fixture.ts
blob: 901c17718667040bc8f3cd848168860be86d0951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
function decorator(target: any, propertyKey: any) {
  target[propertyKey + "decorated"] = true;
}

export default class DecoratedClass {
  @decorator
  method() {
    return 42;
  }
}