UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

16 lines (15 loc) 358 B
/** * @internal * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export function toQueryResult(value) { const result = { data: value.data, }; if (value.error) { result.error = value.error; } return result; } //# sourceMappingURL=toQueryResult.js.map