• Normalize a file name by ensuring it has the given extension, if it doesn't already.

    Returns

    • The normalized file name, with the extension.

    Parameters

    • fileName: string

      The file name to normalize.

    • extension: string

      The desired extension, without a leading period.

    Returns string

Generated using TypeDoc