"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.stripTypename = stripTypename;
const internal_1 = require("@apollo/client/utilities/internal");
/**
 * Deeply removes all `__typename` properties in the given object or array.
 *
 * @param value - The object or array that should have `__typename` removed.
 * @returns The object with all `__typename` properties removed.
 */
function stripTypename(value) {
    return (0, internal_1.omitDeep)(value, "__typename");
}
//# sourceMappingURL=stripTypename.cjs.map
