fix(core): update

This commit is contained in:
2021-10-23 00:27:46 +02:00
parent 5b868f1259
commit 106eb12a7f
4 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,4 @@
import * as plugins from './typedsocket.plugins';
import type * as smartexpress from '@pushrocks/smartexpress';
const publicRoleName = 'publicRoleName';
const publicRolePass = 'publicRolePass';
@ -14,7 +13,7 @@ export class TypedSocket {
*/
public static async createServer(
typedrouterArg: plugins.typedrequest.TypedRouter,
smartexpressServerArg?: smartexpress.Server
smartexpressServerArg?: any
): Promise<TypedSocket> {
const smartsocketServer = new plugins.smartsocket.Smartsocket({
port: 3000,