top | item 30010473

(no title)

BrandonM | 4 years ago

From the article:

    this.downloadService.fileWithProgress(url, 'POST', 'download', body);

    ...

    public fileWithProgress(url: string, reqType: RequestType, actionType: ActionType, body: ...): void {
        ...
    }
    ...
    export type RequestType = 'GET' | 'POST' | ...;
    export type ActionType = 'download' | ...;

discuss

order

No comments yet.