Auspicious
Results
2
comments of
Auspicious
> I solve this issue. Firstly, Create a folder **typings** then create file **index.d.ts** inside the folder. then declare module `declare module 'react-to-pdf'`. Then add `"typeRoots": [ "./typings", "./node_modules/@types" ]`...
It works now but there's still error in the code as {toPdf} still has an implicit type of any with red underline