mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 18:17:48 -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");
|
|
}
|
|
}
|