@zendesk/laika
Version:
Test, mock, intercept and modify Apollo Client's operations — in both browser and unit tests!
8 lines (7 loc) • 351 B
TypeScript
import type { CreateLaikaLinkOptions } from './typedefs';
/**
* Creates a lazy-loadable Laika Link.
* Useful when you want to use Laika Link in a production environment conditionally,
* i.e. only load it when necessary.
*/
export declare const createLazyLoadableLaikaLink: (options: CreateLaikaLinkOptions) => import("@apollo/client").ApolloLink;