Skip to main content
Module

x/rimbu/mod.ts>Deep.Selector.Result

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Deep.Selector.Result
import { type Deep } from "https://deno.land/x/rimbu@0.13.1/mod.ts";
const { Result } = Deep.Selector;

Type defining the result type of applying the SL selector type to the T value type.

definition: 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]>