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'));