UNPKG

@yeskiy/federation-with-subscriptions

Version:
16 lines (15 loc) 539 B
/// <reference types="node" /> /// <reference types="ws" /> import http from "http"; import { CreateExpressMicroserviceParams } from "./create-express-microservice"; declare type CreateMicroserviceParams<TContext = {}> = CreateExpressMicroserviceParams<TContext> & { port: number; host?: string; path?: string; }; export declare const createMicroservice: (params: Omit<CreateMicroserviceParams, "plugins">) => Promise<{ url: string; server: http.Server; wsServer: import("ws").Server; }>; export {};