mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
18 lines
231 B
TypeScript
18 lines
231 B
TypeScript
// deno-lint-ignore-file
|
|
|
|
function b() {
|
|
return function (
|
|
_target: any,
|
|
_propertyKey: string,
|
|
_descriptor: PropertyDescriptor,
|
|
) {
|
|
console.log("b");
|
|
};
|
|
}
|
|
|
|
class A {
|
|
@b()
|
|
a() {
|
|
console.log("a");
|
|
}
|
|
}
|