hello everyone when i use @types/node for aws-cognito-identity provider i get the following error.
Class 'Module' incorrectly implements interface 'NodeModule'.
Property 'hot' is missing in type 'Module'.
Thanks for your help. I think it conflicts with @types/webpack-env
Looks like there might be a breaking change between @types/[email protected]
and @types/[email protected]
causing this error, probably in conjunction with @types/[email protected]
(my version at least).
Rolling back to 8.0.26 (adding "@types/node": "8.0.26"
to my package.json
) seems to fix it for now.
Edit: Looking a bit closer, it seems this has been noticed and an issue raise: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/19601 + fix PR is open: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19602
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With