Support moduleResolution: "node16"
in type definition file?
#5959
yusuke-omae
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current type definition file do not support the new module resolution mode
node16
implemented in TypeScript 4.7.Therefore may break interoperability with other NPM packages in custom builds of
Swiper
.Difference between module resolution mode
node
andnode16
is mainly due to the way esm modules are resolved in node.js version 16 or later, and the typescript language's interference policy towards them.However, it should be noted that version compatibility with TypeScript 4.6 or lower will no longer be maintained if this support is implemented.
Beta Was this translation helpful? Give feedback.
All reactions