-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
package definition errors #88
Comments
Hi @G-Rath, thanks for the info. I'll have a look! |
Any update on this? When I generate the schema here (which is apparently also using Interesting using the If theres anything I can do to help speed this issue along, let me know :) |
@G-Rath I am using Could you please open an issue at https://github.com/bcherny/json-schema-to-typescript/issues and link this issue here? Thanks! |
Bugger, seems there already is one: bcherny/json-schema-to-typescript#201 |
So I made a PR updating the schema so that the types should now be correctly generated, which has been merge. I think all that's left is to regenerate the typescript definitions & publish them? |
@G-Rath Sorry, I misunderstood your comment. I will re-generate the schemas now. |
|
@ffflorian awesome, thanks! Don't forget to push - the commits are not on github yet ;) Just as a general heads up, there are more schema typings like this, and at least a couple that are invalid for other reasons (off the top of my head, The problem w/ the generator should hopefully be solved once I get around to implementing the I think it could be valuable if Let me know if you'd be interested in taking this further w/ me - while the core of |
Thanks for reminding me :) I just re-built all packages and commited them. |
I don't know the proper place to make this issue, as I don't know where the actual fault lies.
The typings for
package
are not compilable, due to this block at the end of the main interface:schemastore-updater/schemas/package/index.d.ts
Lines 291 to 293 in 3e07403
It should have
| any
at the end, to support top level properties that are primitive types (such asmodule
,esnext
, etc).This is also the same for this line:
schemastore-updater/schemas/package/index.d.ts
Line 231 in 3e07403
The text was updated successfully, but these errors were encountered: