From 2a0e376ca7d4a9163f504b07f2defc51b20ccae3 Mon Sep 17 00:00:00 2001 From: Kagamihara Nadeshiko Date: Wed, 19 Jul 2023 15:17:01 -0700 Subject: [PATCH] comment out decorators --- src/core/graph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/graph.ts b/src/core/graph.ts index 977e5139d..788a1fd7e 100644 --- a/src/core/graph.ts +++ b/src/core/graph.ts @@ -10,7 +10,7 @@ import {GraphDebugLogger, Log} from "./util"; // TODO: find a way to to this with decorators. // eslint-disable-next-line @typescript-eslint/explicit-function-return-type, @typescript-eslint/no-explicit-any -const debugLoggerDecorator = (target: any, context: ClassMethodDecoratorContext) => { +/* const debugLoggerDecorator = (target: any, context: ClassMethodDecoratorContext) => { if (context.kind === "method") { // eslint-disable-next-line @typescript-eslint/no-explicit-any return function (this: any, ...args: unknown[]): any { @@ -20,7 +20,7 @@ const debugLoggerDecorator = (target: any, context: ClassMethodDecoratorContext) return target.call(this, ...args); } } -} +} */ declare global { // eslint-disable-next-line no-var