# DSFile

The `DSFile` interface extends the [File](https://developer.mozilla.org/en-US/docs/Web/API/File) interface allowing files to be downloaded to the local drive.

```typescript
interface DSFile extends File {
    download(): void;
}
```

## download

Downloads the file in memory to the local drive via the browser.
