Typescript error
siisee11 opened this issue · comments
Jaeyoun Nam commented
Could not find a declaration file for module 'marked-terminal'. '..../node_modules/.pnpm/marked-terminal@6.0.0_marked@9.1.5/node_modules/marked-terminal/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/marked-terminal` if it exists or add a new declaration (.d.ts) file containing `declare module 'marked-terminal';`ts(7016)
After
pnpm add -D @types/marked-terminal
Could not find a declaration file for module 'marked-terminal'. 'node_modules/.pnpm/marked-terminal@6.0.0_marked@9.1.5/node_modules/marked-terminal/index.js' implicitly has an 'any' type.
There are types at 'node_modules/@types/marked-terminal/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@types/marked-terminal' library may need to update its package.json or typings.
Mikael Brevik commented
Currently this repo doesn't include typescript and types are installed from DefinitelyTyped repo. Any problems or issues with types should be fixed at https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marked-terminal