refactor(): applied new lint rules

This commit is contained in:
Daniel
2018-03-23 10:42:10 +01:00
parent 28e95ea66e
commit d7829e4012
35 changed files with 1140 additions and 793 deletions
@@ -60,9 +60,9 @@ export class PhotoLibrary extends IonicNativePlugin {
observable: true
})
getLibrary(options?: GetLibraryOptions): Observable<LibraryItem[]> {
let wrappedObservable: Observable<any> = wrap(this, 'getLibrary', { callbackOrder: 'reverse' }).apply(this, [options]);
const wrappedObservable: Observable<any> = wrap(this, 'getLibrary', { callbackOrder: 'reverse' }).apply(this, [options]);
return new Observable<any>((observer) => {
let wrappedSubscription = wrappedObservable.subscribe({
const wrappedSubscription = wrappedObservable.subscribe({
next: (x) => {
observer.next((result: { library: LibraryItem[] }) => {
return result.library;