You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user of this library, I use IDE type hints that leverage the JSDoc type annotations. The ServerEngine constructor takes an options that is missing the debug section. This should be added to the JSDoc annotations.
Sample code:
// Game InstancesconstgameEngine=newGame({traceLevel: Lib.Trace.TRACE_NONE});constserverEngine=newServerEngine(io,gameEngine,{debug: {},// this sectionupdateRate: 6});// start the gameserverEngine.start();
Problem description:
Argument type {updateRate: number, debug: {}} is not assignable to parameter type {stepRate: Number, updateRate: Number, fullSyncRate: Number, tracesPath: String, countConnections: Boolean, updateOnObjectCreation: Boolean, timeoutInterval: Number}
The text was updated successfully, but these errors were encountered:
As a user of this library, I use IDE type hints that leverage the JSDoc type annotations. The
ServerEngine
constructor takes anoptions
that is missing thedebug
section. This should be added to the JSDoc annotations.Sample code:
Problem description:
The text was updated successfully, but these errors were encountered: