Skip to content

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Aug 29, 2022

This re-enables type extraction inside conditional types, i.e. types of form X extends Y ? A : B, which are relevant for extracting MaD typings from .d.ts files.

This was originally disabled in #1295 to avoid divergence issues when extracting the type property graph. However, in #3781 we stopped extracting the type property graph entirely, so the previous mitigation should no longer be needed.

I verified that this code, which originally caused problems, still works after this change. Evaluation also looks fine.

@asgerf asgerf added JS no-change-note-required This PR does not need a change note labels Aug 29, 2022
@asgerf asgerf requested a review from a team as a code owner August 29, 2022 08:09
erik-krogh
erik-krogh previously approved these changes Aug 29, 2022
Copy link
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@asgerf asgerf merged commit d6ee54e into github:main Aug 29, 2022
erik-krogh added a commit to erik-krogh/ql that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants