UNPKG

@ryo-98/react-api-bridge

Version:
5 lines (4 loc) 424 B
import { BoundaryContextValue } from "../types/boundary.js"; import { BridgeAPIOptions, UpperOptions } from "../types/options.js"; import { APIParams } from "../types/api.js"; export declare function getUpperContextValue<A extends APIParams, O extends BridgeAPIOptions<A>, P>(start: BoundaryContextValue<A, P, O>, shouldForwardYield?: UpperOptions<A, O, P>['shouldForwardYield']): BoundaryContextValue<A, P, O> | undefined;