Skip to content

More strict types#5

Merged
elizabetdev merged 2 commits intoelizabetdev:color-palette-pickerfrom
thompsongl:color-palette-picker
Jun 2, 2020
Merged

More strict types#5
elizabetdev merged 2 commits intoelizabetdev:color-palette-pickerfrom
thompsongl:color-palette-picker

Conversation

@thompsongl
Copy link
Copy Markdown

This will makes some impossible states impossible (via type checking). Namely,

  • text options without title values
  • fixed types using ColorStop palette values

Also a minor refactor to reduce the number of calls to local utility functions.

Copy link
Copy Markdown
Owner

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

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

Thanks @thompsongl! It looks good and professional!

@elizabetdev elizabetdev merged commit 62dc72c into elizabetdev:color-palette-picker Jun 2, 2020
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