Wulf / tsync

Synchronize rust and typescript types!
Other
116 stars 10 forks source link

Adding export for constructs (enums, structs and types) in .ts files #9

Closed AravindPrabhs closed 1 year ago

AravindPrabhs commented 1 year ago

Now I've actually gone beyond just passing around consts and built out more of my project I realise that I can't access the synced enums, struct and types since they aren't exported.

I accidently squashed the commit of merging with main which has ruined the git history a bit I think. Thoughts on fixing ?

eklipse2k8 commented 1 year ago

I was about to investigate a similar fix. At least one type must be exported or ESM mode will fail. Any reason not to pull this?

Wulf commented 1 year ago

Sorry for dropping the ball here -- publishing it now