Skip to content

Commit

Permalink
fix(core): use own type for backButton event result (#3348)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jul 28, 2020
1 parent 4ad48de commit 05d0e45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/core-plugin-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export interface AppPlugin extends Plugin {
*/
addListener(
eventName: 'backButton',
listenerFunc: (data: AppUrlOpen) => void,
listenerFunc: (data: BackButtonResult) => void,
): PluginListenerHandle;

/**
Expand All @@ -165,6 +165,8 @@ export interface AppPlugin extends Plugin {
removeAllListeners(): void;
}

export interface BackButtonResult {}

export interface AppState {
isActive: boolean;
}
Expand Down

0 comments on commit 05d0e45

Please sign in to comment.