From b79f0396dcbe11e47e12da243606d3821a14e0d1 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Mon, 6 Mar 2023 23:24:25 +0000 Subject: [PATCH] PR-780243: Adding type to webpack files. --- webpack.config.dev.ts | 2 +- webpack.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.dev.ts b/webpack.config.dev.ts index 2f60f95..95bc88f 100644 --- a/webpack.config.dev.ts +++ b/webpack.config.dev.ts @@ -8,7 +8,7 @@ import { resolveTsAliases } from 'resolve-ts-aliases'; import { deFaultValues } from './config'; const ROOT_DIR = path.resolve(__dirname); -const resolvePath = (...args) => path.resolve(ROOT_DIR, ...args); +const resolvePath = (...args: string[]) => path.resolve(ROOT_DIR, ...args); const BUILD_DIR = resolvePath('build'); const alias = resolveTsAliases(path.resolve('tsconfig.json')); diff --git a/webpack.config.ts b/webpack.config.ts index c048458..325418e 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -8,7 +8,7 @@ import { resolveTsAliases } from 'resolve-ts-aliases'; import { deFaultValues } from './config'; const ROOT_DIR = path.resolve(__dirname); -const resolvePath = (...args) => path.resolve(ROOT_DIR, ...args); +const resolvePath = (...args: string[]) => path.resolve(ROOT_DIR, ...args); const BUILD_DIR = resolvePath('build'); const alias = resolveTsAliases(path.resolve('tsconfig.json'));