-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types are broken with Webpack 5 #401
Comments
I would accept a PR which adds a .d.ts file for this project
… On 17 Mar 2021, at 01:23, dopry ***@***.***> wrote:
For those of us using typescript we are running into issued with @types/webpack, @types/webpack-dev-middleware published by DefinitelyTyped. It would be nice if this packaged included it's own types so we didn't need to depend on definitely typed..
see: DefinitelyTyped/DefinitelyTyped#49755 for context
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Webpack 5 has its own types now. If you remove your local dependency on |
Huge thanks to @BTOdell because it helped me discover another problem. Just in case anyone else is running into TS error headaches and the above solution does not work, double-check for I found out that somewhere along the way, I ended up with (Someone super skilled and not as degenerate as myself probably could've corrected |
For those of us using typescript we are running into issued with @types/webpack, @types/webpack-dev-middleware published by DefinitelyTyped. It would be nice if this packaged included it's own types so we didn't need to depend on definitely typed..
see: DefinitelyTyped/DefinitelyTyped#49755 for context
The text was updated successfully, but these errors were encountered: