diff --git a/src/FileDownloader.ts b/src/FileDownloader.ts index ec8a80e..9ad287c 100644 --- a/src/FileDownloader.ts +++ b/src/FileDownloader.ts @@ -38,6 +38,11 @@ export interface FileDownloadSettings { * } */ headers?: Record | undefined; + /** + * Whether to skip aggressive encoding on the URI, as `vscode.Uri.toString()` normally results in `&` and `=` becoming encoded. + * @default false + */ + skipEncoding?: boolean } export default interface FileDownloader { @@ -104,4 +109,4 @@ export default interface FileDownloader { * @param context the context of the extension that downloaded the file(s) */ deleteAllItems(context: ExtensionContext): Promise; -} \ No newline at end of file +}