eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

typescript/no-multi-type-tuples

ESLint plugin / typescript/no-multi-type-tuples

Disallows multi-type tuples.

module.exports = {
  plugins: ["misc"],
  rules: {
    "misc/typescript/no-multi-type-tuples": "error"
  }
};

Examples of incorrect code

type T = [string, number];

Examples of correct code

type T = [string, string];