@@ -302,9 +302,7 @@ export class Platform {
302
302
// called by engines (the browser)that do not provide them
303
303
304
304
/**
305
- * The `exitApp` method is useful when running from a native platform,
306
- * such as Cordova. This adds the ability to place the Cordova app
307
- * in the background.
305
+ * @private
308
306
*/
309
307
exitApp ( ) { }
310
308
@@ -321,22 +319,22 @@ export class Platform {
321
319
* app's back button within the navbar is clicked, but this event is only
322
320
* referencing the platform's hardward back button.
323
321
*/
324
- backButton : EventEmitter < any > = new EventEmitter ( ) ;
322
+ backButton : EventEmitter < Event > = new EventEmitter ( ) ;
325
323
326
324
/**
327
325
* The pause event emits when the native platform puts the application
328
326
* into the background, typically when the user switches to a different
329
327
* application. This event would emit when a Cordova app is put into
330
328
* the background, however, it would not fire on a standard web browser.
331
329
*/
332
- pause : EventEmitter < any > = new EventEmitter ( ) ;
330
+ pause : EventEmitter < Event > = new EventEmitter ( ) ;
333
331
334
332
/**
335
333
* The resume event emits when the native platform pulls the application
336
334
* out from the background. This event would emit when a Cordova app comes
337
335
* out from the background, however, it would not fire on a standard web browser.
338
336
*/
339
- resume : EventEmitter < any > = new EventEmitter ( ) ;
337
+ resume : EventEmitter < Event > = new EventEmitter ( ) ;
340
338
341
339
342
340
// Getter/Setter Methods
0 commit comments