From 60d0e97425b803cbfee8e878b7ea68e29ef0d411 Mon Sep 17 00:00:00 2001 From: Danny Avila <110412045+danny-avila@users.noreply.github.com> Date: Fri, 4 Aug 2023 14:17:06 -0400 Subject: [PATCH] chore(data-provider): update package.json to add @types/react dependency (#753) feat(data-provider): import React in types.ts file --- package-lock.json | 2 ++ packages/data-provider/package.json | 1 + packages/data-provider/src/types.ts | 2 ++ 3 files changed, 5 insertions(+) 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;