Unverified Commit 2612b48e authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Update webpack typings (#8783)

This is in preparation of a new plugin.
parent 9b3d9f42
...@@ -12,11 +12,11 @@ function generateStats(result: CompilerResult, stat: Stats): CompilerResult { ...@@ -12,11 +12,11 @@ function generateStats(result: CompilerResult, stat: Stats): CompilerResult {
errors: true, errors: true,
}) })
if (errors.length > 0) { if (errors.length > 0) {
result.errors.push(...errors) result.errors.push(...(errors as any))
} }
if (warnings.length > 0) { if (warnings.length > 0) {
result.warnings.push(...warnings) result.warnings.push(...(warnings as any))
} }
return result return result
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment