In this snippet, I've tried to get the type of the Composed typed object narrowed, as per the prop passed to the kind key, but it seems to simply clump every property of Something together. Is there a way to infer this?
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.