type Result<T,P>
The result type when selecting from object type T a path with type P.
Companion namespace: Result
example
let r!: Path.Result<{ a: { b: { c: number } } }, 'a.b'>;
// => type of r: { c: number }
Definition
type Result<T, P extends string> =
Path.Result.For
<T,
Path.Result.Tokenize
<P>, false>;