relay-runtime
Version:
A core runtime for building GraphQL-driven applications.
17 lines (14 loc) • 479 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {FragmentMap, FragmentSpecResolver, Props, RelayContext} from './RelayStoreTypes';
export function createFragmentSpecResolver(
context: RelayContext,
containerName: string,
fragments: FragmentMap,
props: Props,
callback?: () => void,
): FragmentSpecResolver;