Hey guys, Im trying to connect my app into my FS and after executing function, and recieving no errors, nothing happend. Any help?
I use this code
public async createDataFile(contentData: any ,fileName: string){
try {
await writeFile(
{
contents: contentData,
path: `${fileName}`,
},
{
dir: BaseDirectory.Download
}
);
} catch (e) {
console.log(e);
}
};