UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

15 lines (14 loc) 398 B
import { __DEV__ } from "@apollo/client/utilities/environment"; import { deepFreeze } from "./deepFreeze.js"; /** * @internal * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export function maybeDeepFreeze(obj) { if (__DEV__) { deepFreeze(obj); } return obj; } //# sourceMappingURL=maybeDeepFreeze.js.map