diff --git a/packages/node/src/configure/configure.module.ts b/packages/node/src/configure/configure.module.ts index 498839aeba..0c3980a282 100644 --- a/packages/node/src/configure/configure.module.ts +++ b/packages/node/src/configure/configure.module.ts @@ -19,7 +19,7 @@ import { SubqueryProject } from './SubqueryProject'; const logger = getLogger('configure'); -const YargsNameMapping = { +const YargsNameMapping: Record = { local: 'localMode', }; @@ -38,7 +38,7 @@ function yargsToIConfig(yargs: Args): Partial { } acc[YargsNameMapping[key] ?? camelCase(key)] = value; return acc; - }, {}); + }, {} as any); } function defaultSubqueryName(config: Partial): MinConfig {