Closed
Description
NodeJS app. npm install --save truncate-html
Works fine when working locally and in development. But as soon as I do "npm run build" it fails.
node_modules/truncate-html/dist/truncate.d.ts:52:21 - error TS2304: Cannot find name 'CheerioStatic'.
52 (html: string | CheerioStatic, length?: number, options?: IOptions): string;
~~~~~~~~~~~~~
node_modules/truncate-html/dist/truncate.d.ts:53:21 - error TS2304: Cannot find name 'CheerioStatic'.
53 (html: string | CheerioStatic, options?: IOptions): string;
~~~~~~~~~~~~~
Metadata
Assignees
Labels
No labels