Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Better mapping of primitive types #7

Open
dteare opened this issue Apr 2, 2024 · 0 comments
Open

Better mapping of primitive types #7

dteare opened this issue Apr 2, 2024 · 0 comments

Comments

@dteare
Copy link
Contributor

dteare commented Apr 2, 2024

#6 hardcoded a hack to map &str and String to typescript string and a few primitive number types to number. The approach is very basic, hard to maintain, and not easy to read.

It would be good to refactor the code to make these mappings clearer and easier to maintain. Better yet, it'd be awesome to delegate this responsibility to typeshare.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant