ts-rs icon indicating copy to clipboard operation
ts-rs copied to clipboard

Add a manual SingleFileExporter

Open theduke opened this issue 3 years ago • 6 comments

Allows manually exporting a set of types to a single file.

theduke avatar May 01 '22 15:05 theduke

I like this. Thank you. Ps. I think this PR break when enable format feature.

Mattchine avatar May 05 '22 12:05 Mattchine

Any feedback on this?

ps: @Mattchine it seems to work fine with format?

theduke avatar May 16 '22 08:05 theduke

Happy to help wherever needed get this merged, assuming it is within the scope of the project? Single file exporting (e.g. index.ts) is something I personally would really like to see, but understand if it isn't something the maintainer wants 🙂

aaronleopold avatar Aug 09 '22 20:08 aaronleopold

I'm also missing this feature - I hacked my way out to do the same thing in a custom build.rs, but it would be way better to have this feature merged/available.

joaoantoniocardoso avatar Feb 10 '23 01:02 joaoantoniocardoso

Updated tests to expect type instead of `interface´

escritorio-gustavo avatar Jan 25 '24 17:01 escritorio-gustavo

@NyxCode I'm not familiar with this part of the codebase, I think you should have a look

escritorio-gustavo avatar Jan 25 '24 17:01 escritorio-gustavo

Apart from me cleaning up merge conflicts, this has been stale for over a year now, so I'll be closing this issue

gustavo-shigueo avatar Jul 04 '24 13:07 gustavo-shigueo