I have included puppeteer-core
as a dependency in my TypeScript project, and am using Visual Studio 2019. When I try to build the project, I get this error below (as shown by the red squiggly underline under Element
):
error TS2304: Build:Cannot find name 'Element'
How can I resolve this please?