Reply to 1108845558561685506
const f2 = (args: {file: string, folder: string}) => { } f2({ file: '/tmp', folder: 'foo.txt' }); // easier to see the error
This is especially true when the function is defined elsewhere.
Reply to 1108845558561685506
const f2 = (args: {file: string, folder: string}) => { } f2({ file: '/tmp', folder: 'foo.txt' }); // easier to see the error
This is especially true when the function is defined elsewhere.