Types for module.hot
(HMR API)?
#9321
Unanswered
patreeceeo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are there typescript type declarations (.dts files) for Parcel's implementation of the
module.hot
interface anywhere? I found that there's a package from DefinitelyTyped but that seems to be more or less a copy of the@types/webpack-env
code. I've found that Parcel's implementation is much more minimal than Webpack's, so what's in@types/parcel-env
is misleading.Alternatively, is there a plan to have feature parity with Webpack when it comes to HMR, making the
@types/parcel-env
at least aspirationally correct?Beta Was this translation helpful? Give feedback.
All reactions