mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-26 18:59:45 +02:00
add more type, all defaults apps are now in typescript
This commit is contained in:
@ -40,7 +40,7 @@ namespace OS {
|
||||
});
|
||||
}
|
||||
|
||||
awake(e: GUI.TagEventType): void {
|
||||
awake(e: GUI.TagEventType<GUI.tag.MenuEventData>): void {
|
||||
this.openDialog("CalendarDialog").then((d) => console.log(d));
|
||||
}
|
||||
// do nothing
|
||||
|
@ -226,7 +226,7 @@ namespace OS {
|
||||
* @param {GUI.TagEventType} evt
|
||||
* @memberof PushNotification
|
||||
*/
|
||||
awake(evt: GUI.TagEventType): void {
|
||||
awake(evt: GUI.TagEventType<GUI.tag.MenuEventData>): void {
|
||||
if (this.view) {
|
||||
$(this.nzone).hide();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user