linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
16 lines (14 loc) β’ 490 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.tupleNum = exports.tuple = void 0;
// https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead
const tuple = (...args) => args;
exports.tuple = tuple;
const tupleNum = (...args) => args;
/**
* https://stackoverflow.com/a/59187769 Extract the type of an element of an array/tuple without
* performing indexing
*/
exports.tupleNum = tupleNum;
;