File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -370,11 +370,11 @@ export class SessionData {
370
370
* @param {String } json string representation of this object (passed along connection as user data)
371
371
*/
372
372
constructor ( json ) {
373
- /** Client id, long */
373
+ /** @type { number } Client id, long */
374
374
this . clientId = null ;
375
- /** Session name, matches either world name for public world, or world token for private world */
375
+ /** @type { string } Session name, matches either world name for public world, or world token for private world */
376
376
this . name = null ;
377
- /** Session type - 'main' or 'screen' */
377
+ /** @type { string } Session type - 'main' or 'screen' */
378
378
this . type = null ;
379
379
JSON . parse ( json , ( key , value ) => {
380
380
this [ key ] = value ;
You can’t perform that action at this time.
0 commit comments