LikeType<T>:T extends { likeType?(like) => any; } ? L : never
Extracts the loosely typed representation of a type T. LikeType is used
in conjunction with [[FromLike]] to generically convert loosely typed values
to strictly typed instances using only a single generic type parameter to
track both strict and loose types.
Extracts the loosely typed representation of a type
T
.LikeType
is used in conjunction with [[FromLike]] to generically convert loosely typed values to strictly typed instances using only a single generic type parameter to track both strict and loose types.