Skip to content

Commit

Permalink
Bump @types/styled-components from 4.1.20 to 4.4.0 (#18295)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-preview[bot] authored Nov 12, 2019
1 parent 2713be4 commit c7f8624
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/react-text-mask": "^5.4.6",
"@types/react-virtualized": "^9.21.4",
"@types/react-window": "^1.7.0",
"@types/styled-components": "4.1.20",
"@types/styled-components": "4.4.0",
"@zeit/next-typescript": "^1.1.1",
"accept-language": "^3.0.18",
"address": "^1.0.3",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/styles/advanced/GlobalClassName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const StyledTextField = styled(TextField)`
border-color: green;
}
}
`;
` as typeof TextField;

export default function GlobalClassName() {
return (
Expand Down
3 changes: 2 additions & 1 deletion packages/material-ui/test/typescript/hoc-interop.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ const filledProps = {
// styled
{
const StyledTextField = styled(TextField)``;
<StyledTextField variant="filled" {...filledProps} />;
// $ExpectError
<StyledTextField variant="filled" {...filledProps} />; // undesired, fixable by using older version 4.1.20
// $ExpectError
<StyledTextField {...filledProps} />; // desired
}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2237,10 +2237,10 @@
resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-7.5.0.tgz#f5a10c27175465a0b001b68d8b9f761582967cc6"
integrity sha512-NyzhuSBy97B/zE58cDw4NyGvByQbAHNP9069KVSgnXt/sc0T6MFRh0InKAeBVHJWdSXG1S3+PxgVIgKo9mTHbw==

"@types/styled-components@4.1.20":
version "4.1.20"
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-4.1.20.tgz#8afd41039c0fd582152e57ff75c58a5353870de6"
integrity sha512-WztLENdKY+H9udccx5ZhAblgTp08NSfOFYdGaWM0MMm+1tEOioYVFwIIQ7Hx+9wWXiWKDXeoX6R3D/i1obnG3g==
"@types/styled-components@4.4.0":
version "4.4.0"
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-4.4.0.tgz#15a3d59533fd3a5bd013db4a7c4422ec542c59d2"
integrity sha512-QFl+w3hQJNHE64Or3PXMFpC3HAQDiuQLi5o9m1XPEwYWfgCZtAribO5ksjxnO8U0LG8Parh0ESCgVxo4VfxlHg==
dependencies:
"@types/react" "*"
"@types/react-native" "*"
Expand Down

0 comments on commit c7f8624

Please sign in to comment.