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