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.
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
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.