type Generic<T,Write,Maybe,First>
Determines the allowed paths into a value of type T
.
note
type is mapped as template literal to prevent non-string types to leak through
Definition
type Generic<T, Write extends boolean, Maybe extends boolean, First extends boolean = false> = ````${```IsAnyFunc<T> extends true ? '' : // empty string is always an option
''
|
Path.Internal.NonEmpty
`<T, Write, Maybe, First>}````;