Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

chore(data-provider): update package.json to add @types/react dependency (#753)

Danny Avila60d0e97425b8
diff --git a/package-lock.json b/package-lock.json
index ca40d617c3..91716ff12d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -26959,6 +26959,7 @@
"@tanstack/query-core": "^4.29.19",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.0",
+ "@types/react": "^18.2.18",
"jest": "^29.5.0",
"jest-junit": "^16.0.0",
"rimraf": "^5.0.1",
@@ -39511,6 +39512,7 @@
"@tanstack/react-query": "^4.28.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.0",
+ "@types/react": "^18.2.18",
"axios": "^1.3.4",
"jest": "^29.5.0",
"jest-junit": "^16.0.0",
diff --git a/packages/data-provider/package.json b/packages/data-provider/package.json
index 5668b8ee31..c80ac17f26 100644
--- a/packages/data-provider/package.json
+++ b/packages/data-provider/package.json
@@ -36,6 +36,7 @@
"@tanstack/query-core": "^4.29.19",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.0",
+ "@types/react": "^18.2.18",
"jest": "^29.5.0",
"jest-junit": "^16.0.0",
"rimraf": "^5.0.1",
diff --git a/packages/data-provider/src/types.ts b/packages/data-provider/src/types.ts
index 6d57b31af3..f2b81c2ec5 100644
--- a/packages/data-provider/src/types.ts
+++ b/packages/data-provider/src/types.ts
@@ -1,3 +1,5 @@
+import * as React from 'react';
+
export type TMessage = {
messageId: string;
conversationId: string;