8 lines
289 B
Plaintext
8 lines
289 B
Plaintext
/**
|
|
* Extract file name from the Content-Disposition HTTP response header.
|
|
*
|
|
* @param {string} contentDisposition
|
|
* @returns {string} Filename, if found in the Content-Disposition header.
|
|
*/
|
|
export function getFilenameFromContentDispositionHeader(contentDisposition: string): string;
|