We’re in the process of updating the docs here – please try:
const file = await fs.getFileForSaving("yourFile.txt", {types: ["txt"]});
We’re in the process of updating the docs here – please try:
const file = await fs.getFileForSaving("yourFile.txt", {types: ["txt"]});