Skip to content
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

Achieving symmetry between editor and Twoslash #55

Open
jasonkuhrt opened this issue Sep 10, 2024 · 0 comments
Open

Achieving symmetry between editor and Twoslash #55

jasonkuhrt opened this issue Sep 10, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@jasonkuhrt
Copy link

I'm not sure this is user error or something internal in Twoslash. I am seeing different types for the same identifier between my editor and Twoslash. The types are equal but in the editor they have been computed whilst in Twoslash they have not been. I am using type-fest's Simplify utility to force the type computation. This is important for DX. Why might Twoslash not be computing here? Is this a bug?

CleanShot 2024-09-10 at 15 57 39@2x

CleanShot 2024-09-10 at 15 57 31@2x

@antfu antfu added the help wanted Extra attention is needed label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants