Skip to content

Commit 13395e8

Browse files
committed
util: Convert event-definition and panel-registration to typescript
1 parent 4ba094c commit 13395e8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

scripts/util/event-definition.js renamed to scripts/util/event-definition.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ $.DefineEvent('ToggleDrawer', 0, 'Toggle the open or closed state of the right s
3737
$.DefineEvent(
3838
'Drawer_UpdateLobbyButton',
3939
2,
40-
'imgsrc',
41-
'playercount',
40+
'imgsrc, playercount',
4241
'Changes the rightnav lobby button with icon and playercount'
4342
);
4443
$.DefineEvent('Drawer_NavigateToTab', 1, 'tabid', 'Open drawer if closed, and switch the tab to the specified tab');

0 commit comments

Comments
 (0)