Merge pull request #1303 from ValdoTR/develop

Fix openPopup deprecated annotation
This commit is contained in:
David Négrier 2021-07-21 16:43:03 +02:00 committed by GitHub
commit 8790a9c680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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");