Uh oh!
There was an error while loading. Please reload this page.
Actually set impliedNodeFormat in more cases - #59479
Conversation
Andrew Branch (andrewbranch)
commented
Jul 30, 2024
TypeScript Bot (@typescript-bot) test it |
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Bot (typescript-bot)
commented
Jul 30, 2024
Hey Andrew Branch (@andrewbranch), the results of running the DT tests are ready. Everything looks the same! |
TypeScript Bot (typescript-bot)
commented
Jul 30, 2024
Andrew Branch (@andrewbranch) Here are the results of running the user tests with tsc comparing Everything looks good! |
TypeScript Bot (typescript-bot)
commented
Jul 30, 2024
Andrew Branch (@andrewbranch) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TypeScript Bot (typescript-bot)
commented
Jul 30, 2024
Andrew Branch (@andrewbranch) Here are the results of running the top 400 repos with tsc comparing Something interesting changed - please have a look. Details
|
Jake Bailey (jakebailey)
commented
Jul 31, 2024
It's a shame this missed the beta... but I guess we should fix this oops now since we said we were going to do it? |
| const moduleResolution = getEmitModuleResolutionKind(options); | ||
| const shouldLookupFromPackageJson = ModuleResolutionKind.Node16 <= moduleResolution && moduleResolution <= ModuleResolutionKind.NodeNext | ||
| || pathContainsNodeModules(fileName); | ||
| return fileExtensionIsOneOf(fileName, [Extension.Dmts, Extension.Mts, Extension.Mjs]) ? ModuleKind.ESNext : |
There was a problem hiding this comment.
Not for this PR but we copy and paste the arrays passed into fileExtensionIsOneOf all over the place; makes me wonder if we'd get a speed boost by lifting these arrays into common variables.
A bad merge conflict resolution in #58825 caused it not to take effect. This finishes the job.