repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: bump volta node version
[poolifier.git]
/
src
/
utils.ts
diff --git
a/src/utils.ts
b/src/utils.ts
index f77d84a97e6694d2c22cbdc0dd0a5bb97ab69f89..88562ca3531f9acbb446414075366a4b50ba1ce4 100644
(file)
--- a/
src/utils.ts
+++ b/
src/utils.ts
@@
-201,7
+201,7
@@
export const max = (...args: number[]): number =>
* @internal
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
-export const once = <
T, A extends any[], R
>(
+export const once = <
A extends any[], R, T
>(
fn: (...args: A) => R,
context: T
): ((...args: A) => R) => {