import { createContext as _createContext } from '../context'; import { hash } from '../hash'; import type { Fragment } from '../types'; import { resolveRef as _resolveRef } from './resolver'; export function createContext(document: T, resolveRef = _resolveRef) { return _createContext(document, resolveRef, hash); }