Skip to content

Instantly share code, notes, and snippets.

@istarkov

istarkov/HOCBase.js

Created Sep 3, 2017
Embed
What would you like to do?
// Extract type from any enhancer
type HOCBase_<A, B, C: HOC<A, B>> = A
type HOCBase<C> = HOCBase_<*, *, C>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.