Last active
February 12, 2020 17:29
-
-
Save cenkce/059094c695e610f7988a7a5ec2af904c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const someVariable: { | |
prop1: "value1", | |
props2: "value2", | |
nestedType: { | |
nestedProps: "nested value", | |
... | |
}, | |
... | |
} | |
type someVariable = ExtractValues<typeof someVariable>; | |
export default someVariable; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment