Skip to content

Commit

Permalink
comment out decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
axmmisaka committed Jul 19, 2023
1 parent 005e493 commit 2a0e376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -20,7 +20,7 @@ const debugLoggerDecorator = (target: any, context: ClassMethodDecoratorContext)
return target.call(this, ...args);
}
}
}
} */

declare global {
// eslint-disable-next-line no-var
Expand Down

0 comments on commit 2a0e376

Please sign in to comment.