kpdecker/jsdiff

Does this work in TypeScript?

Closed this issue · 0 comments

I am trying to use this package in typescript but apparently it needs some types for this to work, but when I try to install them it says.

TS7016: Could not find a declaration file for module 'diff'. 'C:/Users/Rey/source/repos/configet.ui/node_modules/diff/lib/index.js' implicitly has an 'any' type.   Try npm i --save-dev @types/diff if it exists or add a new declaration (.d.ts) file containing declare module 'diff';