chore: remove some of the any's

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-04-15 10:58:33 +02:00
parent 566e492359
commit b207f4f503
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ export async function createConfig(
new ModuleScopePlugin(
[paths.targetSrc, paths.targetDev],
[paths.targetPackageJson],
) as any,
),
],
alias: {
'react-dom': '@hot-loader/react-dom',
@@ -286,7 +286,7 @@ export async function createBackendConfig(
new ModuleScopePlugin(
[paths.targetSrc, paths.targetDev],
[paths.targetPackageJson],
) as any,
),
],
alias: {
'react-dom': '@hot-loader/react-dom',
+1 -1
View File
@@ -54,7 +54,7 @@ declare module 'react-dev-utils/ModuleScopePlugin' {
appSrc: string | ReadonlyArray<string>,
allowedFiles?: ReadonlyArray<string>,
);
apply: (compiler: webpack.Compiler) => void;
apply: (resolver: any) => void;
}
}