Open mcalthrop opened 4 years ago
Hi. Love the look of this project, and I'd really like to use it on a React app I'm working on with Typescript.
However, I get the following error when I run the tests:
error TS7016: Could not find a declaration file for module '@react-mock/xhr'
I'm not familiar with writing TS bindings... any hints on what would need to be done?
create a file ending in *.d.ts and add declare module '@react-mock/xhr';
declare module '@react-mock/xhr';
Hi. Love the look of this project, and I'd really like to use it on a React app I'm working on with Typescript.
However, I get the following error when I run the tests:
I'm not familiar with writing TS bindings... any hints on what would need to be done?