Exercise #30: Infer With Raw Values
Type Transformations ยท 04-conditional-types-and-infer
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Use a conditional type to extract the `data` property when present, otherwise return `never`.
Check Solution
Run "Check Solution" to validate your code in the browser.