mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
7e2c7fb6c5
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
17 lines
226 B
TypeScript
17 lines
226 B
TypeScript
/* eslint-disable */
|
|
function b() {
|
|
return function (
|
|
_target: any,
|
|
_propertyKey: string,
|
|
_descriptor: PropertyDescriptor,
|
|
) {
|
|
console.log("b");
|
|
};
|
|
}
|
|
|
|
class A {
|
|
@b()
|
|
a() {
|
|
console.log("a");
|
|
}
|
|
}
|