diff --git a/package-lock.json b/package-lock.json index ca40d617c..91716ff12 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 5668b8ee3..c80ac17f2 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 6d57b31af..f2b81c2ec 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;