From af25567b153bd0b305b3128508c1e05ad65158fd Mon Sep 17 00:00:00 2001 From: Irori235 Date: Thu, 14 Mar 2024 23:03:56 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20react-dom-client.d.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 20 ++++++++++---------- package.json | 2 +- src/react-dom-client.d.ts | 1 + 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 src/react-dom-client.d.ts diff --git a/package-lock.json b/package-lock.json index 27d1f2a..a56119e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "devDependencies": { "@storybook/addon-styling": "^1.0.8", "@types/react": "^18.0.33", - "@types/react-dom": "^18.0.11", + "@types/react-dom": "^18.2.22", "@vitejs/plugin-react-swc": "^3.0.0", "typescript": "^4.9.3", "vite": "^4.3.9" @@ -1149,9 +1149,9 @@ } }, "node_modules/@grpc/grpc-js/node_modules/protobufjs": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.3.tgz", - "integrity": "sha512-TtpvOqwB5Gdz/PQmOjgsrGH1nHjAQVCN7JG4A6r1sXRWESL5rNMAiRcBQlCAdKxZcAbstExQePYG8xof/JVRgg==", + "version": "7.2.6", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.6.tgz", + "integrity": "sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", @@ -2920,9 +2920,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.0.11", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.0.11.tgz", - "integrity": "sha512-O38bPbI2CWtgw/OoQoY+BRelw7uysmXbWvw3nLWO21H1HSh+GOlqPuXshJfjmpNlKiiSDG9cc1JZAaMmVdcTlw==", + "version": "18.2.22", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.22.tgz", + "integrity": "sha512-fHkBXPeNtfvri6gdsMYyW+dW7RXFo6Ad09nLFK0VQWR7yGLai/Cyvyj696gbwYvBnhGtevUG9cET0pmUbMtoPQ==", "dev": true, "dependencies": { "@types/react": "*" @@ -5894,9 +5894,9 @@ } }, "node_modules/protobufjs": { - "version": "6.11.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.3.tgz", - "integrity": "sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg==", + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.11.4.tgz", + "integrity": "sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==", "hasInstallScript": true, "dependencies": { "@protobufjs/aspromise": "^1.1.2", diff --git a/package.json b/package.json index d3cf2f5..9b6932b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@storybook/addon-styling": "^1.0.8", "@types/react": "^18.0.33", - "@types/react-dom": "^18.0.11", + "@types/react-dom": "^18.2.22", "@vitejs/plugin-react-swc": "^3.0.0", "typescript": "^4.9.3", "vite": "^4.3.9" diff --git a/src/react-dom-client.d.ts b/src/react-dom-client.d.ts new file mode 100644 index 0000000..d774ad3 --- /dev/null +++ b/src/react-dom-client.d.ts @@ -0,0 +1 @@ +declare module "react-dom/client";