import { registerHandler } from '../ipc-server'; export function answer(channel: IpcChannel): DecoratorFactory { return function (target: IIpcController, propertyKey): void { registerHandler(channel, target, propertyKey); }; }