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

NPM package for json2typescript v.0.9.5 is defective: #16

Closed
DRepinSLB opened this issue Jun 30, 2017 · 1 comment
Closed

NPM package for json2typescript v.0.9.5 is defective: #16

DRepinSLB opened this issue Jun 30, 2017 · 1 comment
Assignees

Comments

@DRepinSLB
Copy link

I am new to the web development, so, I might be mistaken. Having said that, it looks that the NPM package for json2typescript v.0.9.5 is defective: it contains only Typescript code and no JavaScript.
image
I believe this is because the tsconfig.json contains an invalid specification for json-convert.ts. The ".ts" suffix is missing:
"files": [
"./index.ts",
"./src/json2typescript/json-convert"
]

@andreas-aeschlimann
Copy link
Member

It's not "defective", but there are indeed no JavaScript files. Depending on your configuration, your project might not compile the TypeScript files and leave you with errors.

I think in the new version this should be fixed (coming soon).

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