• Gets the latest valid version for a given alias.

    Returns

    The latest matching version, or undefined if no match was found.

    Parameters

    • alias: semanticAlias

      The alias.

    • versions: `v${string}`[]

      An array of known, valid versions.

    • Optional stable: "auto" | `v${string}` = 'auto'

      The version set in the typedoc options for the 'stable' alias.

    • Optional dev: "auto" | `v${string}` = 'auto'

      The version set in the options for the 'dev' alias.

    Returns version

Generated using TypeDoc