-
Notifications
You must be signed in to change notification settings - Fork 8
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 type definitions. #84
Comments
I'd be happy to take a PR adding them. Though note that you're not going to be directly dealing with the Farce API much in using Found. |
@taion: Yeah, I'd noticed as much from the documentation, which is why it was a bit frustrating. Really small piece of the puzzle but lack of types stopped me. I'll see if I can at least get a decent start point out of dts-gen and go from there. |
Why do the types or lack thereof matter if you're not directly interacting with the library? |
@taion Per the example project for
This causes TypeScript to complain, obviously, because it can't find type definitions for these imports. |
Went looking to use
found-relay
with a TypeScript/React project and was unable to do so as all of the examples depend onfarce
and its history management, which does not have TypeScript type definitions available (that I could find).The text was updated successfully, but these errors were encountered: