ts-essentials
Advanced tools
Changelog
10.0.3
ReadonlyKeys<Type>
and WritableKeys<Type>
now return only the readonly and writable keys, respectively,
for arrays and tuplesPrettify<Type>
returns the same type when the type parameter is a functionOptionalKeys<Type>
returns never
for primitives and returns only optional indices for arrays and tuplesPaths
performance by limiting the depth of paths to 7 (default)Paths<Type, { anyArrayIndexAccessor: '*' }>
, a string literal representing a catch-all or "wildcard"
when indexing on arrays.