Skip to content

Commit

Permalink
Hide function/interface properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Nov 9, 2017
1 parent dee32c9 commit 4e28295
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/@ionic-native/plugins/photo-library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { Observable } from 'rxjs/Observable';
import { Observer } from 'rxjs/Observer';
import { Injectable } from '@angular/core';

/**
* @hidden
*/
export interface CordovaFiniteObservableOptions extends CordovaOptions {
/**
* Function that gets a result returned from plugin's success callback, and decides whether it is last value and observable should complete.
Expand All @@ -15,10 +18,9 @@ export interface CordovaFiniteObservableOptions extends CordovaOptions {
}

/**
* @private
* @hidden
*
* Wraps method that returns an observable that can be completed. Provided opts.resultFinalPredicate dictates when the observable completes.
*
*/
export function CordovaFiniteObservable(opts: CordovaFiniteObservableOptions = {}) {
opts.observable = true;
Expand Down

0 comments on commit 4e28295

Please sign in to comment.