Function typeBasedOnSpecEntry

  • Function to determine the type of a specification entry based on its key and value.

    Type Parameters

    • S extends Record<string, string>

      Type of the specification, extending Record<string, string>.

    Parameters

    • spec: S

      The specification.

    • key: keyof S

      Key of the specification entry.

    Returns SpecType | undefined

    The type of the specification entry if it matches a known type, undefined otherwise.

Generated using TypeDoc