-
Notifications
You must be signed in to change notification settings - Fork 25
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 types as index.d.ts file please #26
Comments
Hi @nojvek, fair point. I was taking a look at the readme and realized it could be a little more clear. I will try to explain here a little better and will use that to change the README later. Please consider the the section As I tried to show in the README, this isValid
parse
lazyParse
where:
interface LazyParsedJSON {
valueForKeyPath: (keyPath: string) => JSONDataType
} I hope this is a little better than the current documentation. See that the type Cheers, |
I've moved what I explained here to the file Documentation.md |
Sweeet. I will take a pass tomorrow. |
Great library, although the interface is somewhat unintuitive. Is
isValid
the only method?Would love to see typescript types so the library interface is fully documented. I can help here. Just don't really know what the interface right now is, and how to make most of the library.
The text was updated successfully, but these errors were encountered: