From ffe39151571688ffc2b789bbc93b9d76d8121867 Mon Sep 17 00:00:00 2001 From: crstnmac Date: Tue, 4 Jul 2023 11:52:02 +0530 Subject: [PATCH] fix(app): :pushpin: fix react types --- package.json | 7 +++++-- pnpm-lock.yaml | 21 ++++++++++++--------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 636b5ae..085ba45 100644 --- a/package.json +++ b/package.json @@ -38,11 +38,14 @@ "@tailwindcss/forms": "^0.5.3", "@tailwindcss/typography": "^0.5.9", "@types/node": "20.3.3", - "@types/react": "18.2.14", - "@types/react-dom": "18.2.6", + "@types/react": "18.2.0", + "@types/react-dom": "18.2.0", "autoprefixer": "^10.4.14", "postcss": "^8.4.24", "tailwindcss": "^3.3.2", "typescript": "5.0.2" + }, + "resolutions": { + "@types/react": "18.2.0" } } \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ae72d48..80c8da8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + '@types/react': 18.2.0 + dependencies: clsx: specifier: ^1.2.1 @@ -86,11 +89,11 @@ devDependencies: specifier: 20.3.3 version: 20.3.3 '@types/react': - specifier: 18.2.14 - version: 18.2.14 + specifier: 18.2.0 + version: 18.2.0 '@types/react-dom': - specifier: 18.2.6 - version: 18.2.6 + specifier: 18.2.0 + version: 18.2.0 autoprefixer: specifier: ^10.4.14 version: 10.4.14(postcss@8.4.24) @@ -1154,14 +1157,14 @@ packages: resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} dev: true - /@types/react-dom@18.2.6: - resolution: {integrity: sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A==} + /@types/react-dom@18.2.0: + resolution: {integrity: sha512-8yQrvS6sMpSwIovhPOwfyNf2Wz6v/B62LFSVYQ85+Rq3tLsBIG7rP5geMxaijTUxSkrO6RzN/IRuIAADYQsleA==} dependencies: - '@types/react': 18.2.14 + '@types/react': 18.2.0 dev: true - /@types/react@18.2.14: - resolution: {integrity: sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g==} + /@types/react@18.2.0: + resolution: {integrity: sha512-0FLj93y5USLHdnhIhABk83rm8XEGA7kH3cr+YUlvxoUGp1xNt/DINUMvqPxLyOQMzLmZe8i4RTHbvb8MC7NmrA==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.3