Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overrides for disallowed types (e.g. 64 bit integers) #140

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tomjw64
Copy link

@tomjw64 tomjw64 commented Aug 26, 2023

Here's an alternative approach to support 64 bit integer types than the one taken in #112.

Rather than blessing one approach, with #119 being merged, it seems like it's possible to accept this oddity of TypeScript/JavaScript and force users of Typeshare (or rather, only those using it to output TypeScript) to make a decision appropriate for them and their use-case.

More or less resolves #24

@wyatt-herkamp
Copy link

I swapped my install to this this fork. It is working.

@tomjw64
Copy link
Author

tomjw64 commented Nov 9, 2023

@Lucretiel @inquisitivepenguin Sorry to bother, but could I get a review on this?

@annie444
Copy link

annie444 commented Feb 9, 2024

This closes #112 for sure. A very beautiful solution I might add!

@mattyg
Copy link

mattyg commented Feb 18, 2024

I'd like to see this included as well.

You may also want to add u128 and i128 to the supported types.

@mattyg
Copy link

mattyg commented Mar 14, 2024

@anish-1p sorry to bother you -- would you mind taking a look at this PR and reviewing or merging? Thank you!

naveenOnarayanan added a commit to gitarcode/typeshare that referenced this pull request Nov 6, 2024
## Description
* Switching build over to `zigbuild` to support linux arm64 variant
* Porting over 1Password#140 to support large number
* Adding some default overrides to include base types for stuff such as `HashSet`

## Test Plan
* Typeshare built for repo

## Revert Plan
* Revert
naveenOnarayanan added a commit to gitarcode/typeshare that referenced this pull request Nov 22, 2024
* Switching build over to `zigbuild` to support linux arm64 variant
* Porting over 1Password#140 to support large number
* Adding some default overrides to include base types for stuff such as `HashSet`

* Typeshare built for repo

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

Successfully merging this pull request may close these issues.

Are usize and i64 not supported?
4 participants