Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update api.md (#575)
  • Loading branch information
omarboulbaze committed Aug 25, 2023
1 parent 3c20cb4 commit 8fce839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -154,7 +154,7 @@ Worker.FS() is a generic FS function to do anything you want, you can check [HER
(async () => {
await worker.FS('writeFile', ['tmp.txt', 'Hi\nTesseract.js\n']);
// equal to:
// await worker.readText('tmp.txt', 'Hi\nTesseract.js\n');
// await worker.writeText('tmp.txt', 'Hi\nTesseract.js\n');
})();
```

Expand Down

0 comments on commit 8fce839

Please sign in to comment.