fix(SCServer): any wsEngine to handle modules

This commit is contained in:
Kalvis Kalniņš
2019-01-02 12:44:21 +02:00
parent ddb5f8dd22
commit 3cd60ea66f
+1 -1
View File
@@ -83,7 +83,7 @@ declare namespace SCServer {
// This can be the name of an npm module or a path to a Node.js module
// to use as the WebSocket server engine.
// You can now set this to 'sc-uws' for a massive speedup of at least 2x!
wsEngine?: string;
wsEngine?: any;
// An ID to associate with this specific instance of SC
// this may be useful if you are running an SC app on multiple