isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
23 lines (22 loc) • 785 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// -----
// Tests
// -----
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable complete/require-unannotated-const-assertions */
// @ts-expect-error Tuple of length 0 with min length 1 and max length 2.
const zeroOneTwo = [];
// Tuple of length 1 with min length 1 and max length 2.
const oneOneTwo = ["1"];
// Tuple of length 2 with min length 1 and max length 2.
const twoOneTwo = ["1", "2"];
// @ts-expect-error Tuple of length 3 with min length 1 and max length 2.
const threeOneTwo = [
"1",
"2",
"3",
];
/* eslint-enable @typescript-eslint/no-unused-vars */
/* eslint-enable complete/require-unannotated-const-assertions */
// See "TupleWithMaxLength.ts" for more tests.