How to check object type in react? – Reactjs
In my code, I have two interfaces as below export interface Temp{ message : string } export interface Temp1{ message1 : string } With code like this, useMutation(....) sends a request to the server and requests the result. const {mutate,…