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
This deprecated type dependency causes TS to throw an error: Cannot find type definition file for 'dompurify'. The file is in the program because: Entry point for implicit type library 'dompurify'
https://www.npmjs.com/package/@types/dompurify
This deprecated type dependency causes TS to throw an error:
Cannot find type definition file for 'dompurify'. The file is in the program because: Entry point for implicit type library 'dompurify'
This is caused because
@types/dompurify
doesn't have an index file.This is documented here: https://devblogs.microsoft.com/typescript/announcing-typescript-5-1-beta/#explicit-typeroots-disables-upward-walks-for-node_modules/@types
Just run
npm uninstall @types/dompurify
to fix.The text was updated successfully, but these errors were encountered: