You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to consume json2ts bin file to load multiple schema files and output just a single .d.ts file?
I've got many schema files and, of course, I can map them like this: schema -> .d.ts, but I'd have to maintain such mapping and consume multiple .d.ts files in my typescript app. I'd prefer to be able to do this:
and then it outputs everything to a single .d.ts file.
In fact, I'm touching 2 things here at the same time: mutliple file input and single file output. The latter is more important - just to include a single .d.ts file. Then, my TS app could just load this single .d.ts file and forget the whole thing. But now, if there is any new file arriving - or if a file name changes - consumer app has to reflect file name changes... Would really like to avoid that.
Any chance on that?
The text was updated successfully, but these errors were encountered:
Is there any way to consume
json2ts
bin file to load multiple schema files and output just a single.d.ts
file?I've got many schema files and, of course, I can map them like this:
schema -> .d.ts
, but I'd have to maintain such mapping and consume multiple .d.ts files in my typescript app. I'd prefer to be able to do this:or even this:
and then it outputs everything to a single .d.ts file.
In fact, I'm touching 2 things here at the same time: mutliple file input and single file output. The latter is more important - just to include a single .d.ts file. Then, my TS app could just load this single .d.ts file and forget the whole thing. But now, if there is any new file arriving - or if a file name changes - consumer app has to reflect file name changes... Would really like to avoid that.
Any chance on that?
The text was updated successfully, but these errors were encountered: