We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#57587
impliedNodeFormat
#57570
mdast-util-to-string
toString
However in moduleResolution: esnext and others, we permit a default import of the module.
moduleResolution: esnext
import mdast from "mdast-util-to-string"; mdast.toString; // TypeScript INCORRECTLY allows this.
nodenext
commonjs
node10
mts
package.json
.cjs
module.exports
export {}
esXXXX
#57683
lib
es2024
es2023
esnext
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reusing Type Nodes from Assertion Expressions
#57587
Set
impliedNodeFormat
in Every Module Mode#57570
mdast-util-to-string
exports a namedtoString
binding.However in
moduleResolution: esnext
and others, we permit a default import of the module.nodenext
etc.commonjs
/node10
, we look for high-confidence indicators (e.g.mts
files,package.json
information)..cjs
file withmodule.exports
incorrectly transformed to include anexport {}
at the end of the file.package.json
resolution in all modes slows things down slightly, but we might be able to optimize more.Proactively Ship
esXXXX
Emit Targets#57683
lib
ses2024
is an alias fores2023
means that whenes2024
gets solidified, syntax stops getting transformed. That's a break.esnext
is less breaky - but a feature can be stalled in stage 3 for a long time.esXXXX
targets following ratification in the standards body. Typically the 2nd plenary meeting of the year.The text was updated successfully, but these errors were encountered: