Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Emit debugging info for visualiser to use #199

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
comment out decorators
axmmisaka committed Aug 25, 2023
commit 2700ce34a48e769f6e24c73fe764f36a2118986d
4 changes: 2 additions & 2 deletions src/core/graph.ts
Original file line number Diff line number Diff line change
@@ -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