import { IfNever } from 'type-fest'; /** * `never[]` and `[]` are not the same type, and in some cases they aren't * interchangeable. * * This type makes it easier to use the result of TupleParts when the input is a * fixed-length tuple but we still want to spread the rest of the array. e.g. * `[...CoercedArray["item"]>, ...TupleParts["suffix"]]`. * */ type CoercedArray = IfNever>; export type { CoercedArray as C };