Skip to content

Commit

Permalink
Missing declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
EzioMercer authored Oct 6, 2024
1 parent 3d2cd62 commit 7d9690f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/filesystemfilehandle/getfile/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ uses the `getFile()` method to retrieve the contents.
```js
async function getTheFile() {
// open file picker
[fileHandle] = await window.showOpenFilePicker(pickerOpts);
const [fileHandle] = await window.showOpenFilePicker(pickerOpts);

// get file contents
const fileData = await fileHandle.getFile();
Expand Down

0 comments on commit 7d9690f

Please sign in to comment.