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

typescript definition support generics #82

Open
hardfist opened this issue Sep 10, 2018 · 2 comments
Open

typescript definition support generics #82

hardfist opened this issue Sep 10, 2018 · 2 comments

Comments

@hardfist
Copy link
Contributor

It will be convenient if methods like int.get('xxx') supports auto completion, one way to do that is using generics just like rematch.

@cwtuan
Copy link
Collaborator

cwtuan commented Sep 10, 2018

Does it not work now?

image

@hardfist
Copy link
Contributor Author

Something like following
2018-09-10 6 09 31

Even though user can do that by ambient declaration, I think it would be better the lib itself supports this functionality

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