• Type Parameters

    • T

    Parameters

    • file: File
    • method: "text" | "binary" | "arraybuffer"
    • Optionalencoding: string

    Returns Promise<T>