Is it possible to extract type form object providing a path to it in N size tuple format. If so, how? Example what I have in mind:
type ExtractType<O, T> = ...;
type Foo = ExtractType<{ a: { b: number } }, ['a', 'b']> // I expect Foo type to be number