diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index 7db91f59d9..a95cb4ef86 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -611,7 +611,7 @@ function loader(this: webpack.loader.LoaderContext, source: string, sourcemap: s this.resolve('context', 'request', ( err: Error, result: string) => {}); - this.emitError('wraning'); + this.emitError('warning'); this.callback(null, source); }