From e576d6058a4ebbdd3eaeca73c4c00496e5c83c83 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 10 Sep 2019 00:21:47 +0200 Subject: [PATCH] fix(core): update --- ts/smartsocket.classes.socketfunction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartsocket.classes.socketfunction.ts b/ts/smartsocket.classes.socketfunction.ts index 356f005..9a41294 100644 --- a/ts/smartsocket.classes.socketfunction.ts +++ b/ts/smartsocket.classes.socketfunction.ts @@ -13,7 +13,7 @@ import { SmartsocketClient } from './smartsocket.classes.smartsocketclient'; * interface of the contructor options of class SocketFunction */ export interface ISocketFunctionConstructorOptions { - funcName: string; + funcName: T['method']; funcDef: TFuncDef; allowedRoles: SocketRole[]; // all roles that are allowed to execute a SocketFunction }