Skip to content

Commit

Permalink
fix: forced resolution on types/react
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalaber committed May 31, 2024
1 parent ba0aea7 commit c0f8528
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 31 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@
"@testing-library/react": "15.0.6",
"@testing-library/react-native": "12.4.5",
"@types/async": "^3.2.8",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/hoist-non-react-statics": "^3.3.2",
"@types/jest": "29.4.4",
"@types/lodash": "^4.14.175",
"@types/node": "18.19.33",
"@types/react": "18.3.1",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/ua-parser-js": "^0.7.38",
"@types/uuid": "^8.3.1",
Expand Down
2 changes: 1 addition & 1 deletion sdk/nextjs/src/pages/appWithDevCycle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const BootstrapSync = ({
return children
}

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export const appWithDevCycle = <Props extends NextJsAppProps>(
WrappedComponent: React.ComponentType<Props>,
additionalOptions: DevCycleNextOptions = {},
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
) => {
const AppWithDevCycle = (
props: Props & { pageProps: Props['pageProps'] & SSRProps },
Expand Down
38 changes: 10 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10684,13 +10684,13 @@ __metadata:
languageName: node
linkType: hard

"@types/hoist-non-react-statics@npm:^3.3.1":
version: 3.3.1
resolution: "@types/hoist-non-react-statics@npm:3.3.1"
"@types/hoist-non-react-statics@npm:^3.3.2":
version: 3.3.5
resolution: "@types/hoist-non-react-statics@npm:3.3.5"
dependencies:
"@types/react": "*"
hoist-non-react-statics: ^3.3.0
checksum: 2c0778570d9a01d05afabc781b32163f28409bb98f7245c38d5eaf082416fdb73034003f5825eb5e21313044e8d2d9e1f3fe2831e345d3d1b1d20bcd12270719
checksum: b645b062a20cce6ab1245ada8274051d8e2e0b2ee5c6bd58215281d0ec6dae2f26631af4e2e7c8abe238cdcee73fcaededc429eef569e70908f82d0cc0ea31d7
languageName: node
linkType: hard

Expand Down Expand Up @@ -10970,24 +10970,13 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:*, @types/react@npm:>=16.9.11":
version: 18.2.20
resolution: "@types/react@npm:18.2.20"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
checksum: 30f699c60e5e4bfef273ce64d320651cdd60f5c6a08361c6c7eca8cebcccda1ac953d2ee57c9f321b5ae87f8a62c72b6d35ca42df0e261d337849952daab2141
languageName: node
linkType: hard

"@types/react@npm:18.3.1":
version: 18.3.1
resolution: "@types/react@npm:18.3.1"
"@types/react@npm:*, @types/react@npm:18.3.3, @types/react@npm:>=16.9.11":
version: 18.3.3
resolution: "@types/react@npm:18.3.3"
dependencies:
"@types/prop-types": "*"
csstype: ^3.0.2
checksum: 9224ef319a0c2b7f66e7e7f06012aa5eb638a6c76c9742843eab1a5d243f2bed5ff829ddbb41efd60d33a266420528adfcb84cb93f238b00e905f98c3a355768
checksum: c63d6a78163244e2022b01ef79b0baec4fe4da3475dc4a90bb8accefad35ef0c43560fd0312e5974f92a0f1108aa4d669ac72d73d66396aa060ea03b5d2e3873
languageName: node
linkType: hard

Expand All @@ -11014,13 +11003,6 @@ __metadata:
languageName: node
linkType: hard

"@types/scheduler@npm:*":
version: 0.16.2
resolution: "@types/scheduler@npm:0.16.2"
checksum: b6b4dcfeae6deba2e06a70941860fb1435730576d3689225a421280b7742318d1548b3d22c1f66ab68e414f346a9542f29240bc955b6332c5b11e561077583bc
languageName: node
linkType: hard

"@types/send@npm:*":
version: 0.17.1
resolution: "@types/send@npm:0.17.1"
Expand Down Expand Up @@ -16010,11 +15992,11 @@ __metadata:
"@testing-library/react-native": 12.4.5
"@types/async": ^3.2.8
"@types/express": ^4.17.17
"@types/hoist-non-react-statics": ^3.3.1
"@types/hoist-non-react-statics": ^3.3.2
"@types/jest": 29.4.4
"@types/lodash": ^4.14.175
"@types/node": 18.19.33
"@types/react": 18.3.1
"@types/react": 18.3.3
"@types/react-dom": 18.3.0
"@types/ua-parser-js": ^0.7.38
"@types/uuid": ^8.3.1
Expand Down

0 comments on commit c0f8528

Please sign in to comment.