phecda-server
Version:
server framework that provide IOC/type-reuse/http&rpc-adaptor
13 lines (10 loc) • 447 B
TypeScript
import { F as Factory } from '../../core-Bd2ynlyb.js';
import { R as RpcCtx, a as RpcServerOptions } from '../../types-CHWgzilt.js';
import 'phecda-core';
import '../../meta-ZbvaS7xK.js';
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 };