Skip to content

Commit

Permalink
add ignore to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiolms committed Oct 23, 2024
1 parent bed464f commit 5ed1cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/decorators/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function serialize(): (target: any, key: string, descriptor: PropertyDesc
}

let promise: Promise<any> | undefined = this[serializeKey];
// eslint-disable-next-line no-return-await, @typescript-eslint/no-unsafe-return
// eslint-disable-next-line no-return-await, @typescript-eslint/no-unsafe-return, @typescript-eslint/return-await
const run = async () => await fn.apply(this, args);
if (promise == null) {
promise = run();
Expand Down

0 comments on commit 5ed1cf7

Please sign in to comment.