Uh oh!
There was an error while loading. Please reload this page.
Fix getEffectiveCheckNode - #60309
Conversation
TypeScript Bot (typescript-bot)
commented
Oct 22, 2024
Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page. Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up. |
TypeScript Bot (@typescript-bot) test it |
TypeScript Bot (typescript-bot)
commented
Oct 22, 2024
Gabriela Araujo Britto (@gabritto) Here are the results of running the user tests with tsc comparing Everything looks good! |
TypeScript Bot (typescript-bot)
commented
Oct 22, 2024
Hey Gabriela Araujo Britto (@gabritto), the results of running the DT tests are ready. Everything looks the same! |
TypeScript Bot (typescript-bot)
commented
Oct 22, 2024
Gabriela Araujo Britto (@gabritto) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TypeScript Bot (typescript-bot)
commented
Oct 22, 2024
Gabriela Araujo Britto (@gabritto) Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
getEffectiveCheckNodeis currently used to adjust error position by skipping outer expressions of a node.This fixes the following problems in error position related to usage of
getEffectiveCheckNode.Nested
satisfiesare not skipped:Playground
In JS files, JSDoc type assertions are skipped:
Playground
Found those problems when working on another PR.