Reputation: 1551
I'm working on a nodejs project to generate PDFs using Puppeteer in server side. In there I'm using typescript and current version of the Puppeteer is 8.0.0(provides it's own type definitions).
But in the build process, getting the below error
In the types.d.ts file also I can see Lowercase is not defined.
Does anyone knows what is the error?
Upvotes: 5
Views: 1306
Reputation: 61
just change your typescript version to "typescript": "^4.2.3" in package.json file.
Upvotes: 6