mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -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");
|
|
}
|
|
}
|