Created
September 5, 2019 09:10
-
-
Save daGrevis/6e2ee7588132d16aaab091c653a8a093 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type MapToBlocValue<T extends {}> = { | |
[K in keyof T]: T[K] extends BlocSelect<any> ? T[K]['value'] : MapToBlocValue<T[K]> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment