-
Notifications
You must be signed in to change notification settings - Fork 448
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
WIP: Move core typedefs out of Js modules #7129
base: master
Are you sure you want to change the base?
Conversation
830ec22
to
5828460
Compare
The approach in this PR works fine for me. As mentioned, I had issues when putting the typedefs directly into the individual Core modules, see #7126 (comment). Done so far for date and regExp, shall I continue this way for the other types @cristianoc @zth ? |
The questions is what we want to expose to the user when hovering. @zth ? |
@cristianoc @zth Hover would currently look like this: |
Probably something we'll have to make look artificially better in the editor tooling anyway. So I'm fine with this. Ideally from my POV, the first hover should just be |
We can separately think about what is the ideal way of expressing a type. Btw gentype currently has the issue that work worse for code included in the compiler than for user code. (When looking for where a type is defined, as well as shipping .tsx files). Let's go with this. |
No description provided.