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 menuItem: tg.isString
}).get(); }).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>; export type MenuItemClickedEvent = tg.GuardedType<typeof isMenuItemClickedEvent>;

View file

@ -5,6 +5,6 @@ export const isMenuItemRegisterEvent =
menutItem: tg.isString menutItem: tg.isString
}).get(); }).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>; export type MenuItemRegisterEvent = tg.GuardedType<typeof isMenuItemRegisterEvent>;