-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Expose getUnknownType #56826
New issue
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
Expose getUnknownType #56826
Conversation
This makes sense, but do you have some context for this? |
@jakebailey, Sure, I can provide context. Jason Gore was doing some work where he was writing an ESLint rule and needed access to the I think Jason has actually abandoned the rule he was working on. That doesn't necessarily mean this isn't still a worthwhile chang to consider though, but I'll leave that to the TS team to decide. If you think If you think there's no need to expose it, we can just abandon the effort. |
I suspect that if it had been included, we would have accepted it given we already have But, since I sent and merged #56448 which exposed |
We haven't had time to finish reviewing this in over a year. |
We'll likely want this both before and after. I'm still surprised we didn't have this. |
I'm not opposed to merging it here. @sstchur do you want to mark this as Ready for review? |
Sure thing! |
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
It's been so long here, that I don't recall if there is something more I need to do? Do I need to add tests, or otherwise update this PR? |
You will need to update tests, yes. Should just be |
I foolishly forgot that I already approved and merged #60502, which does this. So, closing as done, oops. |
Fixes #