mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -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");
|
|
}
|
|
}
|