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

Improve Promise types #18

Closed
Didas-git opened this issue Nov 10, 2022 · 1 comment
Closed

Improve Promise types #18

Didas-git opened this issue Nov 10, 2022 · 1 comment

Comments

@Didas-git
Copy link

Didas-git commented Nov 10, 2022

Currently one of the major problems is that Promises are shown as an object type and do not give you the return type upfront.
My idea would be to use the <type arguments> to defined the promise type since it contains the proper type of the promise.
image

Another issue is that promises show a rather useless tag when looking into them
image

@mxsdev
Copy link
Owner

mxsdev commented Nov 14, 2022

This is really two issues: one for providing type arguments, and another for internal symbols - so I'm gonna break it into two.

@mxsdev mxsdev closed this as completed Nov 14, 2022
This was referenced Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants