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 "types":"dist/index.d.ts", into package.json #12

Open
ychsue opened this issue Apr 6, 2018 · 0 comments
Open

Add "types":"dist/index.d.ts", into package.json #12

ychsue opened this issue Apr 6, 2018 · 0 comments

Comments

@ychsue
Copy link

ychsue commented Apr 6, 2018

Only when I add in
"types":"dist/index.d.ts",
into package.json, the
import * as json2ts from "json-ts";
can work on my own .ts file.

Your code is good, hope that you can add in this short declaration into your package.json so that we can easily use it in our own typescript code. Thanks a lot.

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

1 participant