type Result<T,SL>
Type defining the result type of applying the SL selector type to the T value type.
Definition
type Result<T, SL> = Selector<T> extends SL ? never : SL extends (...args: any[]) => infer R ? R : SL extends string ? Path.Result<T, SL> : {
readonly [K in keyof SL]: Selector.Result<T, SL[K]>;
};