UNPKG

@module-federation/typescript

Version:

Webpack plugin to stream typescript for module federation apps/components

21 lines (20 loc) 418 B
export interface DownloadOptions { /** * URL of the file. */ url: string; /** * Path to where the file will be saved. */ destination: string; /** * Name of the file. */ filename: string; } /** * Downloads a file from a URL and saves it to disk. * * @param options Download options. */ export default function download(options: DownloadOptions): Promise<void>;