typeshare icon indicating copy to clipboard operation
typeshare copied to clipboard

Allow manual type exports

Open CathalMullan opened this issue 3 years ago • 1 comments

Inspired by a feature ts-rs has, allowing you to manually export types by calling ::export(...) on them.

Currently, Typeshare can't export types that are generated by macros (maybe that deserves its own issue?), so this would be one workaround for that problem.

CathalMullan avatar Jan 09 '23 19:01 CathalMullan

Also very interested in this because or the macro problem.

teenjuna avatar Feb 05 '23 07:02 teenjuna