We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be lovely to have some docs about how to use this with TS. I'm new to this, but here's a start...
/types/react-snapshot/index.d.ts
declare module 'react-snapshot' { }
The text was updated successfully, but these errors were encountered:
Dose any one try this website ? it has a snippet for adding the library with typescript.
Sorry, something went wrong.
I will try to find time and prepare PR to get it through the @types/react-snapshot
@types/react-snapshot
Just pasting the above-mentioned workaround here for posterity:
In your ./src/react-app-env.d.ts, add the following
./src/react-app-env.d.ts
declare module 'react-snapshot' { import * as ReactDOM from 'react-dom'; var render: ReactDOM.Renderer; }
No branches or pull requests
Would be lovely to have some docs about how to use this with TS. I'm new to this, but here's a start...
/types/react-snapshot/index.d.ts
The text was updated successfully, but these errors were encountered: