Open BTMuli opened 4 weeks ago
This pull request is in the type of:
[Bug] Typescript setting module to "NodeNext" cannot obtain type prompt #19992
When use "moduleResolution:nodeNext",it will throw err like Module '"echarts/core"' has no exported member 'init'.
Module '"echarts/core"' has no exported member 'init'.
Refer to the same issue on svelte#5028 and its solve pr,I add types export and it looks well.
svelte#5028
solve pr
One of the following should be checked.
N.A.
Thanks for your contribution! The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.
Brief Information
This pull request is in the type of:
What does this PR do?
Fixed issues
[Bug] Typescript setting module to "NodeNext" cannot obtain type prompt #19992
Details
Before: What was the problem?
When use "moduleResolution:nodeNext",it will throw err like
Module '"echarts/core"' has no exported member 'init'.
After: How does it behave after the fixing?
Refer to the same issue on
svelte#5028
and itssolve pr
,I add types export and it looks well.Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
Other information