aboutsummaryrefslogtreecommitdiff
path: root/src/modules/helpers/unique.ts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-02-15 19:29:44 +0100
committerGitHub <[email protected]>2023-02-15 18:29:44 +0000
commite7230f6f10af9633cf0eca18910cbafaaba9ecba (patch)
tree60c27d30661f85b8ec2155e8a2f39ffdb8559f63 /src/modules/helpers/unique.ts
parent1399375686afb99a4ea55a6153601905f395304d (diff)
downloadfaker-e7230f6f10af9633cf0eca18910cbafaaba9ecba.tar.xz
faker-e7230f6f10af9633cf0eca18910cbafaaba9ecba.zip
chore: activate noImplicitAny (#1839)
Diffstat (limited to 'src/modules/helpers/unique.ts')
-rw-r--r--src/modules/helpers/unique.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/modules/helpers/unique.ts b/src/modules/helpers/unique.ts
index fd240c2f..ebd1b88e 100644
--- a/src/modules/helpers/unique.ts
+++ b/src/modules/helpers/unique.ts
@@ -81,7 +81,13 @@ Try adjusting maxTime or maxRetries parameters for faker.helpers.unique().`
* @param options.compare The function used to determine whether a value was already returned. Defaults to check the existence of the key.
* @param options.store The store of unique entries. Defaults to `GLOBAL_UNIQUE_STORE`.
*/
-export function exec<Method extends (...parameters) => RecordKey>(
+export function exec<
+ Method extends (
+ // TODO christopher 2023-02-14: This `any` type can be fixed by anyone if they want to.
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ ...parameters: any[]
+ ) => RecordKey
+>(
method: Method,
args: Parameters<Method>,
options: {