type Separator<First,Maybe,IsArray>
Determines the allowed path part seperator based on the input types.
Definition
type Separator<First extends boolean, Maybe extends boolean, IsArray extends boolean> = Maybe extends true ? First extends true ? never : '?.' : First extends true ? '' : IsArray extends true ? '' : '.';