/** * Helper type to represent a tuple of length N. * * From: * https://stackoverflow.com/questions/52489261/typescript-can-i-define-an-n-length-tuple-type/52490977#52490977 */ export type Tuple = N extends N ? number extends N ? T[] : _TupleOf : never; type _TupleOf = R["length"] extends N ? R : _TupleOf; export {}; //# sourceMappingURL=Tuple.d.ts.map