Fixe openPopup deprecated annotation

This commit is contained in:
Valdo Romao 2021-07-21 16:10:30 +02:00
parent 4f513fb1e0
commit cd49fd5b83

View file

@ -123,7 +123,7 @@ const wa = {
},
/**
* @deprecated Use WA.controls.restorePlayerControls instead
* @deprecated Use WA.ui.openPopup instead
*/
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup {
console.warn("Method WA.openPopup is deprecated. Please use WA.ui.openPopup instead");