UNPKG

phecda-server

Version:

server framework that provide IOC/type-reuse/http&rpc-adaptor

13 lines (10 loc) 450 B
import { F as Factory } from '../../core-nqk9d66O.mjs'; import { R as RpcCtx, a as RpcServerOptions } from '../../types-f_hV_rCD.mjs'; import 'phecda-core'; import '../../meta-ZbvaS7xK.mjs'; interface WebExtCtx extends RpcCtx { type: 'browser-extension'; sender: chrome.runtime.MessageSender; } declare function bind({ moduleMap, meta }: Awaited<ReturnType<typeof Factory>>, opts?: RpcServerOptions): void; export { type WebExtCtx, bind };