Open kayoroxa opened 3 years ago
Commenting as I've had the same issue and have been unable to resolve.
basically if its lacks of types just make your own types or just declare them as 'any' for now:
declare module 'react-textfit';
save and thats allconst Textfit= require('react-textfit');
and install npm i --save @types/node and wait until ts is supported is what i do always when i intergrate jsx component without definition type.
"npm i --save-dev @types/react-textfit" Doesn't work..