Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 29, 2024
1 parent 27e0422 commit 4a0ae94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cramFile/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export function tinyMemoize(_class: any, methodName: any) {
const res = method.call(this)
this[memoAttrName] = res
Promise.resolve(res).catch(() => {
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
delete this[memoAttrName]
})
}
Expand Down
2 changes: 1 addition & 1 deletion test/cram2sam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,6 @@ async function run() {
})
}

run().catch(e => {
run().catch((e: unknown) => {
console.error(e)
})

0 comments on commit 4a0ae94

Please sign in to comment.