docs(all): improve type docs for event

This commit is contained in:
Manu Mtz.-Almeida
2018-12-28 20:12:54 +01:00
committed by Manu MA
parent b3316d480f
commit 3d656ac312
74 changed files with 380 additions and 371 deletions

View File

@ -1,8 +1,8 @@
import { Injectable } from '@angular/core';
import { BackButtonDetail, Platforms, getPlatforms, isPlatform } from '@ionic/core';
import { BackButtonEventDetail, Platforms, getPlatforms, isPlatform } from '@ionic/core';
import { Subject, Subscription } from 'rxjs';
export interface BackButtonEmitter extends Subject<BackButtonDetail> {
export interface BackButtonEmitter extends Subject<BackButtonEventDetail> {
subscribeWithPriority(priority: number, callback: () => Promise<any> | void): Subscription;
}
@ -14,7 +14,7 @@ export class Platform {
/**
* @hidden
*/
backButton: BackButtonEmitter = new Subject<BackButtonDetail>() as any;
backButton: BackButtonEmitter = new Subject<BackButtonEventDetail>() as any;
/**
* The pause event emits when the native platform puts the application