Hi,
this package (and its type definitions) refences ejs, but doesn't have @types/ejs as a dependency (which it should if its types import from ejs). This leads to errors such as:
node_modules/vite-plugin-html/dist/index.d.ts:2:38 - error TS7016: Could not find a declaration file for module 'ejs'. '/home/user/repo/node_modules/ejs/lib/ejs.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/ejs` if it exists or add a new declaration (.d.ts) file containing `declare module 'ejs';`
2 import { Options as Options$1 } from 'ejs';
Hi, this package (and its type definitions) refences ejs, but doesn't have
@types/ejs
as a dependency (which it should if its types import from ejs). This leads to errors such as: