Im my node + typescript application I have the following code.
const base64Data = new Buffer.from(url, 'base64');
Here it gives the following error.
'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.
I have installed @types/node. Why am I getting this error? How can I fix this?