UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

28 lines (27 loc) 973 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // ----- // Tests // ----- /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable complete/require-unannotated-const-assertions */ // Tuple of length 0 with max length 0. const zeroZero = []; // @ts-expect-error Tuple of length 1 with max length 0. const oneZero = ["1"]; // Tuple of length 0 with max length 1. const zeroOne = []; // Tuple of length 1 with max length 1. const oneOne = ["1"]; // @ts-expect-error Tuple of length 2 with max length 1. const twoOne = ["1", "2"]; // Tuple of length 0 with max length 2. const zeroTwo = []; // Tuple of length 1 with max length 2. const oneTwo = ["1"]; // Tuple of length 2 with max length 2. const twoTwo = ["1", "2"]; // @ts-expect-error Tuple of length 3 with max length 2. const threeTwo = ["1", "2", "3"]; /* eslint-enable @typescript-eslint/no-unused-vars */ /* eslint-enable complete/require-unannotated-const-assertions */