repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: silence rollup warning
[poolifier.git]
/
src
/
utils.ts
diff --git
a/src/utils.ts
b/src/utils.ts
index 7927c9738c39d2ad1a417e4a2afdc552ece34caa..6f9d1226bb71210b020d987b32d169bbd593b5b8 100644
(file)
--- a/
src/utils.ts
+++ b/
src/utils.ts
@@
-193,7
+193,7
@@
export const updateMeasurementStatistics = (
export const once = (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
fn: (...args: any[]) => void,
export const once = (
// eslint-disable-next-line @typescript-eslint/no-explicit-any
fn: (...args: any[]) => void,
- context
= this
+ context
: unknown
// eslint-disable-next-line @typescript-eslint/no-explicit-any
): ((...args: any[]) => void) => {
let called = false
// eslint-disable-next-line @typescript-eslint/no-explicit-any
): ((...args: any[]) => void) => {
let called = false