From e7230f6f10af9633cf0eca18910cbafaaba9ecba Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 15 Feb 2023 19:29:44 +0100 Subject: chore: activate noImplicitAny (#1839) --- src/modules/finance/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/finance') diff --git a/src/modules/finance/index.ts b/src/modules/finance/index.ts index d137ee1b..8db5bfce 100644 --- a/src/modules/finance/index.ts +++ b/src/modules/finance/index.ts @@ -8,7 +8,9 @@ import iban from './iban'; export class FinanceModule { constructor(private readonly faker: Faker) { // Bind `this` so namespaced is working correctly - for (const name of Object.getOwnPropertyNames(FinanceModule.prototype)) { + for (const name of Object.getOwnPropertyNames( + FinanceModule.prototype + ) as Array) { if (name === 'constructor' || typeof this[name] !== 'function') { continue; } -- cgit v1.2.3