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

chore: use helper for exhaustiveness checks #175

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Mar 11, 2024

To be merged into #174.

Copy link
Contributor

@tomasciccola tomasciccola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey, this is super useful!
LGTM! 🚀

@EvanHahn EvanHahn merged commit 2577298 into feat/twoIconTypes Mar 11, 2024
6 checks passed
@EvanHahn EvanHahn deleted the evanhahn-suggestion-for-174 branch March 11, 2024 20:34
tomasciccola added a commit that referenced this pull request Mar 11, 2024
* differenciate two icon types (png and svg), fix tests

* move size and blobVersionId outside of variants, to avoid repetition

* addressing review

* remove empty check in decode-conversions
* remove unused imports and commented function in encode-conversions
* run prettier on schema/icon/v1.json

* throw error if invalid mimeType (but can't print the mimetype itself
because it won't please ts)

* chore: use helper for exhaustiveness checks (#175)

---------

Co-authored-by: Tomás Ciccola <tciccola@digital-democracy.com>
Co-authored-by: Evan Hahn <me@evanhahn.com>
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.

2 participants