Closed jacksrm closed 11 months ago
Currently it's not compatible with typescript.
Thank you.
In your project source directory create a types
folder and make a types file so typescript will not hit an error.
/// \src
/// ..\types
/// ..\..\react-simple-captcha.d.ts
declare module 'react-simple-captcha';
Now typescript lets you use it without types.
@Stuart88 Thank you for providing the solution
I am pinning down your solution link to the main page of NPM.
Again thank you so much.
Until now I can't find a good way to use it with typescript cause there's no type exported in the lib.