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

Convert us-state-choices.json to TypeScript #1265

Merged
merged 1 commit into from
Apr 23, 2020
Merged

Conversation

toolness
Copy link
Collaborator

@toolness toolness commented Apr 23, 2020

This uses the commondatabuilder (introduced in #501) to convert our raw JSON state choices into a TypeScript file, which will allow us to do more dynamic things with them, such as using the module's exported getUSStateChoiceLabels() function to easily look up a state's full name from its two-letter abbreviation.

@toolness toolness requested a review from sraby April 23, 2020 02:15
@toolness toolness merged commit 812be3d into master Apr 23, 2020
@toolness toolness deleted the us-state-choices-tsx branch April 23, 2020 02:17
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.

1 participant