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
When running with ES Module mode, we have to:
import * as MOCK_STORE 'redux-mock-store' const createMockStore = (MOCK_STORE.default as any).default as typeof MOCK_STORE.default
The above code will violate the Typing system (must use as any), but it works for the final code.
as any
To be investigated.
"redux-mock-store": "^1.5.4"
"@types/redux-mock-store": "^1.0.3"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running with ES Module mode, we have to:
The above code will violate the Typing system (must use
as any
), but it works for the final code.To be investigated.
Version
"redux-mock-store": "^1.5.4"
"@types/redux-mock-store": "^1.0.3"
Link to
The text was updated successfully, but these errors were encountered: