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

Any TypeScript examples available? #304

Open
Tagman opened this issue Apr 3, 2021 · 1 comment
Open

Any TypeScript examples available? #304

Tagman opened this issue Apr 3, 2021 · 1 comment

Comments

@Tagman
Copy link

Tagman commented Apr 3, 2021

Is there a place where I can find any usages with typescript for this library?
Like just the basic import and diffing.

Thanks!

@xamgore
Copy link
Contributor

xamgore commented Apr 15, 2021

Typescript definitions can be found in index.d.ts, so you just import { diff } from 'jsondiffpatch' as in pure javascript examples.

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