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

GoogleProvider: add literal types #3783

Open
1 task done
dora-gt opened this issue Dec 3, 2024 · 0 comments
Open
1 task done

GoogleProvider: add literal types #3783

dora-gt opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request new Un-triaged issue

Comments

@dora-gt
Copy link

dora-gt commented Dec 3, 2024

Description

Currently, in TypeScript, region and zone are expressed by string. This is not useful because we have to fill out the string on our own. Literal type helps here like:

type Region = 'asia-northeast1' | 'asia-northeast2' | .....;
readonly region?: Region;

Are you open to accept pull-requests for this? I'm keen to.

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@dora-gt dora-gt added enhancement New feature or request new Un-triaged issue labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new Un-triaged issue
Projects
None yet
Development

No branches or pull requests

1 participant