-
Notifications
You must be signed in to change notification settings - Fork 106
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 support #65
Comments
I wrote a custom
Edit: adding MIT license:
|
@hongha912 Thanks, this is very helpful! I'd like to use this in my project, however it's not clear that the repository license extends to code in issues. Would you be willing to apply an open-source license to this code? Or submit it as a pull request? Thanks. |
@thomas-white I don't have time to submit a PR right now, but added a MIT license. |
Thanks @hongha912 ! Very much appreciated. |
For anybody else running into this, I was able to get this to work by doing the following in In tsconfig.json: {
"compilerOptions": {
//baseUrl and paths needed for custom typings
"baseUrl": ".",
"paths": {
"*": [ "./typings/*" ]
},
... "typings" should be whatever directory you create this the jsoneditor-react.d.ts file in. I also had to add: |
Hello, is there any options to use this package with typescript? Original jsoneditor has typescript definitions in DefinetelyTyped. Would be glad any recommendations for usage with typescript:) thanks
The text was updated successfully, but these errors were encountered: