fix(docs): remove parameter from example that's not in the api [skip ci] (#5471)

* Remove parameter from example that's not in the API

* Update filter extensions

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
Webber Takken
2022-10-23 21:46:40 +02:00
committed by GitHub
parent 5b1e99f264
commit cb6ee77e69

View File

@@ -177,10 +177,9 @@ async function open(
* ```typescript
* import { save } from '@tauri-apps/api/dialog';
* const filePath = await save({
* multiple: true,
* filters: [{
* name: 'Image',
* extensions: ['stronghold']
* extensions: ['png', 'jpeg']
* }]
* });
* ```