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

Add Typescript declaration #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

michaschwab
Copy link

@michaschwab michaschwab commented Jul 22, 2020

As is, this lasso can't really be used by TypeScript projects. This PR should fix that!

@gioele-antoci
Copy link

Wouldn't using generics instead of any allow even stronger typing?

@michaschwab
Copy link
Author

I'm sure you could come up with stronger typings - feel free to do so. This just makes it usable.

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

Successfully merging this pull request may close these issues.

2 participants