Skip to content

Conversation

@G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Sep 29, 2019

Removes most of our type casts, making things a bit nicer.

This will cause a merge conflict w/ #419

Copy link
Member

@jeysal jeysal left a comment

Choose a reason for hiding this comment

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

TS' type system is nice 👍

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Except for the default params @jeysal pointed out, this LGTM.

(enum vs string union - I'm -0 on changing since it's more verbose, but it's way easier to find usage, so I don't mind)

@G-Rath G-Rath force-pushed the improve-types branch 2 times, most recently from 9188e59 to b8c03ee Compare October 5, 2019 04:03
@G-Rath
Copy link
Collaborator Author

G-Rath commented Oct 26, 2019

I'm going to merge this as I think the remaining unresolved comment isn't worth blocking on: if it is a problem, it'll mean rethinking our coverage, and/or waiting for a bug fix on another package.

It's pretty easy to address in post if we want :)

Cheers for the reviews!

@G-Rath G-Rath merged commit f07a10f into master Oct 26, 2019
@G-Rath G-Rath deleted the improve-types branch October 26, 2019 22:32
@github-actions
Copy link

🎉 This PR is included in version 22.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants