diff --git a/package.json b/package.json index c04d882c1..5a105e0e2 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "coverage": "codecov" }, "peerDependencies": { - "@types/react": "^18.0", - "@types/react-dom": "^18.0", + "@types/react": "^18.2.41", + "@types/react-dom": "^18.2.17", "react": "^18.0", "react-dom": "^18.0", "react-native": ">=0.71", @@ -92,8 +92,8 @@ "@testing-library/react-12": "npm:@testing-library/react@^12", "@testing-library/react-hooks": "^3.4.2", "@testing-library/react-native": "^7.1.0", - "@types/react": "^18", - "@types/react-dom": "^18", + "@types/react": "^18.2.41", + "@types/react-dom": "^18.2.17", "@types/react-native": "^0.67.4", "@typescript-eslint/eslint-plugin": "^4.28.0", "@typescript-eslint/parser": "^4.28.0", diff --git a/src/types.ts b/src/types.ts index 92775a104..acc332863 100644 --- a/src/types.ts +++ b/src/types.ts @@ -3,6 +3,7 @@ import type { ComponentClass, ComponentType, FunctionComponent, + JSX, } from 'react' import type { Action, UnknownAction, Dispatch } from 'redux' diff --git a/yarn.lock b/yarn.lock index 9153170f3..d944be751 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2799,7 +2799,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:*, @types/react-dom@npm:^18": +"@types/react-dom@npm:*": version: 18.0.0 resolution: "@types/react-dom@npm:18.0.0" dependencies: @@ -2808,6 +2808,15 @@ __metadata: languageName: node linkType: hard +"@types/react-dom@npm:^18.2.17": + version: 18.2.17 + resolution: "@types/react-dom@npm:18.2.17" + dependencies: + "@types/react": "*" + checksum: 7a4e704ed4be6e0c3ccd8a22ff69386fe548304bf4db090513f42e059ff4c65f7a427790320051524d6578a2e4c9667bb7a80a4c989b72361c019fbe851d9385 + languageName: node + linkType: hard + "@types/react-native@npm:^0.67.4": version: 0.67.4 resolution: "@types/react-native@npm:0.67.4" @@ -2826,14 +2835,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^18": - version: 18.0.1 - resolution: "@types/react@npm:18.0.1" +"@types/react@npm:*, @types/react@npm:^18.2.41": + version: 18.2.41 + resolution: "@types/react@npm:18.2.41" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: ede927ed3766fef5fec513fe75e79180bb3c97d21ca7707321e969193c596bc4a531160238546a845e4131df02ec9be7803277a268bc270156362d16b29b4ffb + checksum: fcf4c598e5adc1be1dafaa5977ff7698b5b69c6b1473ce524a28d57fa04af3f1a1aa1193cf284542451d98ae5338d26270f8c6e1f7afda5bbbe6c3a4ba40b1d8 languageName: node linkType: hard @@ -9372,8 +9381,8 @@ __metadata: "@testing-library/react-12": "npm:@testing-library/react@^12" "@testing-library/react-hooks": ^3.4.2 "@testing-library/react-native": ^7.1.0 - "@types/react": ^18 - "@types/react-dom": ^18 + "@types/react": ^18.2.41 + "@types/react-dom": ^18.2.17 "@types/react-native": ^0.67.4 "@types/use-sync-external-store": ^0.0.3 "@typescript-eslint/eslint-plugin": ^4.28.0 @@ -9403,8 +9412,8 @@ __metadata: typescript: ^5.0 use-sync-external-store: ^1.0.0 peerDependencies: - "@types/react": ^18.0 - "@types/react-dom": ^18.0 + "@types/react": ^18.2.41 + "@types/react-dom": ^18.2.17 react: ^18.0 react-dom: ^18.0 react-native: ">=0.71"