From 2b98bb35a0e11b21f465267c1074f98bc945301d Mon Sep 17 00:00:00 2001 From: Max Scholz Date: Sun, 14 Jul 2024 01:22:28 +0200 Subject: [PATCH] chore: update to latest --- samples/weather-forecast/package.json | 4 ++-- samples/weather-forecast/src/components/Card/index.tsx | 1 + samples/weather-forecast/yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/samples/weather-forecast/package.json b/samples/weather-forecast/package.json index 142d0a2..bad63e1 100644 --- a/samples/weather-forecast/package.json +++ b/samples/weather-forecast/package.json @@ -52,8 +52,8 @@ "@types/jest": "^29.5.12", "@types/json-schema": "^7.0.15", "@types/node": "16.11.9", - "@types/react": "^17.0.36", - "@types/react-dom": "^17.0.11", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", "@types/testing-library__jest-dom": "^5.14.9", "@types/webpack": "5.28.5", "@types/webpack-dev-server": "4.7.2", diff --git a/samples/weather-forecast/src/components/Card/index.tsx b/samples/weather-forecast/src/components/Card/index.tsx index c578e4e..89e185c 100644 --- a/samples/weather-forecast/src/components/Card/index.tsx +++ b/samples/weather-forecast/src/components/Card/index.tsx @@ -17,6 +17,7 @@ import CSS from "csstype"; export interface CardProperties { color: string; smallWidth: boolean; + children: any; } export const Card: FunctionComponent = (props) => { diff --git a/samples/weather-forecast/yarn.lock b/samples/weather-forecast/yarn.lock index 1084f35..b2d7f1b 100644 --- a/samples/weather-forecast/yarn.lock +++ b/samples/weather-forecast/yarn.lock @@ -2048,14 +2048,14 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== -"@types/react-dom@<18.0.0", "@types/react-dom@^17.0.11": +"@types/react-dom@<18.0.0": version "17.0.25" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.25.tgz#e0e5b3571e1069625b3a3da2b279379aa33a0cb5" integrity sha512-urx7A7UxkZQmThYA4So0NelOVjx3V4rNFVJwp0WZlbIK5eM4rNJDiN3R/E9ix0MBh6kAEojk/9YL+Te6D9zHNA== dependencies: "@types/react" "^17" -"@types/react-dom@>=16.9.0": +"@types/react-dom@>=16.9.0", "@types/react-dom@^18.3.0": version "18.3.0" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.0.tgz#0cbc818755d87066ab6ca74fbedb2547d74a82b0" integrity sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg== @@ -2076,7 +2076,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@>=16.9.0": +"@types/react@*", "@types/react@>=16.9.0", "@types/react@^18.3.3": version "18.3.3" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.3.tgz#9679020895318b0915d7a3ab004d92d33375c45f" integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw== @@ -2084,7 +2084,7 @@ "@types/prop-types" "*" csstype "^3.0.2" -"@types/react@^17", "@types/react@^17.0.36": +"@types/react@^17": version "17.0.80" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.80.tgz#a5dfc351d6a41257eb592d73d3a85d3b7dbcbb41" integrity sha512-LrgHIu2lEtIo8M7d1FcI3BdwXWoRQwMoXOZ7+dPTW0lYREjmlHl3P0U1VD0i/9tppOuv8/sam7sOjx34TxSFbA==