You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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';
The text was updated successfully, but these errors were encountered:
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:The text was updated successfully, but these errors were encountered: