X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils.ts;h=dd839bc491b622aa871b876424474d24abdfb44e;hb=10cafe12b27cb4aca036c5405fd02bae0d02b2f5;hp=7e1c8ef8ba02d6de027418d51912f56968aefb93;hpb=31847469b406e46688d8aafb880e250706dd8aee;p=poolifier.git
diff --git a/src/utils.ts b/src/utils.ts
index 7e1c8ef8..dd839bc4 100644
--- a/src/utils.ts
+++ b/src/utils.ts
@@ -207,7 +207,7 @@ export const max = (...args: number[]): number =>
* @internal
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
-export const once = (
+export const once = >(
fn: (...args: A) => R,
context: C
): ((...args: A) => R) => {