Fixing JSDoc

This commit is contained in:
David Négrier 2021-05-18 09:53:54 +02:00 committed by GitHub
parent 4758820aa4
commit 9b68faac0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@ export const isMenuItemClickedEvent =
menuItem: tg.isString
}).get();
/**
* A message sent from the game to the iFrame when a user enters or leaves a zone marked with the "zone" property.
* A message sent from the game to the iFrame when a menu item is clicked.
*/
export type MenuItemClickedEvent = tg.GuardedType<typeof isMenuItemClickedEvent>;

View File

@ -5,6 +5,6 @@ export const isMenuItemRegisterEvent =
menutItem: tg.isString
}).get();
/**
* A message sent from the game to the iFrame when a user enters or leaves a zone marked with the "zone" property.
* A message sent from the iFrame to the game to add a new menu item.
*/
export type MenuItemRegisterEvent = tg.GuardedType<typeof isMenuItemRegisterEvent>;