diff --git a/.changeset/sixty-kiwis-beam.md b/.changeset/sixty-kiwis-beam.md new file mode 100644 index 000000000..f22303e19 --- /dev/null +++ b/.changeset/sixty-kiwis-beam.md @@ -0,0 +1,6 @@ +--- +'@emotion/react': patch +'@emotion/styled': patch +--- + +Explicitly update the version of the @types/react package listed in peerDependencies. diff --git a/packages/react/package.json b/packages/react/package.json index e92b6c195..c0a29b5ad 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -80,7 +80,8 @@ "hoist-non-react-statics": "^3.3.1" }, "peerDependencies": { - "react": ">=16.8.0" + "react": ">=16.8.0", + "@types/react": ">=16.8.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/packages/styled/package.json b/packages/styled/package.json index 05fcdab8c..fd09bc343 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -20,7 +20,8 @@ }, "peerDependencies": { "@emotion/react": "^11.0.0-rc.0", - "react": ">=16.8.0" + "react": ">=16.8.0", + "@types/react": ">=16.8.0" }, "peerDependenciesMeta": { "@types/react": {