fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-10 00:21:47 +02:00
parent 6546da2394
commit e576d6058a

View File

@ -13,7 +13,7 @@ import { SmartsocketClient } from './smartsocket.classes.smartsocketclient';
* interface of the contructor options of class SocketFunction
*/
export interface ISocketFunctionConstructorOptions<T extends plugins.typedrequestInterfaces.ITypedRequest> {
funcName: string;
funcName: T['method'];
funcDef: TFuncDef<T>;
allowedRoles: SocketRole[]; // all roles that are allowed to execute a SocketFunction
}