Skip to content

Commit

Permalink
chore(deps): bump @types/react from 18.3.3 to 18.3.11 (#5057)
Browse files Browse the repository at this point in the history
* chore(deps): bump @types/react from 18.3.3 to 18.3.11

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.3 to 18.3.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update lockfile

* chore: update typecast

* chore: update gitignore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and joshblack authored Oct 14, 2024
1 parent 61b9174 commit a8b17d8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ blob-report

# TypeScript
*.tsbuildinfo

# ESLint
.eslintcache
2 changes: 1 addition & 1 deletion examples/codesandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/consumer-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"check": "tsc --noEmit"
},
"dependencies": {
"@types/react": "^18.2.14",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.2.19",
"@types/styled-components": "^5.1.11",
"@primer/react": "37.0.0-rc.10",
Expand Down
10 changes: 6 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"@types/lodash.isobject": "3.0.9",
"@types/lodash.keyby": "4.6.7",
"@types/node": "20.12.11",
"@types/react": "18.3.3",
"@types/react": "18.3.11",
"@types/react-dom": "18.3.0",
"@types/react-test-renderer": "18.3.0",
"@types/semver": "7.5.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function toggleStyledComponent<T, P extends CSSModulesProps>(flag: string
}
return <BaseComponent {...rest} ref={ref} />
}
return <Component as={BaseComponent} {...(rest as P)} sx={sxProp} ref={ref} />
return <Component as={BaseComponent} {...(rest as unknown as P)} sx={sxProp} ref={ref} />
})

return Wrapper
Expand Down

0 comments on commit a8b17d8

Please sign in to comment.