• Checks if a file has one of the specified extensions

    Parameters

    • filePath: string

      File path to check

    • extensions: string[]

      Array of extensions to match (e.g., ['.ts', '.js'])

    Returns boolean

    True if file has one of the extensions