We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53b160c commit 93f0376Copy full SHA for 93f0376
test/components/connect.spec.tsx
@@ -3270,7 +3270,8 @@ describe('React', () => {
3270
</ProviderMock>
3271
)
3272
return null
3273
- } catch (error) {
+ //@ts-ignore before typescript4.0, a catch could not have type annotations
3274
+ } catch (error: any) {
3275
return error.message
3276
} finally {
3277
spy.mockRestore()
0 commit comments