Function indexSignaturesAreSame

  • Tests whether the two given index signatures are equals.

    Type Parameters

    • T

    Parameters

    • indexSignature1: {
          [id: string]: T;
      }

      The first index signature to compare.

      • [id: string]: T
    • indexSignature2: {
          [id: string]: T;
      }

      The second index signature to compare.

      • [id: string]: T

    Returns boolean

    true if the index signatures are equal, false otherwise.

Generated using TypeDoc