From 4ab4aaf17860993ca8d1441cc9955a596a763a2a Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 8 Apr 2018 21:20:35 +0200 Subject: [PATCH] docs(document-picker): fix docs --- src/@ionic-native/plugins/document-picker/index.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/@ionic-native/plugins/document-picker/index.ts b/src/@ionic-native/plugins/document-picker/index.ts index f9f636f6..bb1f6252 100644 --- a/src/@ionic-native/plugins/document-picker/index.ts +++ b/src/@ionic-native/plugins/document-picker/index.ts @@ -1,14 +1,12 @@ - import { Injectable } from '@angular/core'; import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; - /** * @name iOS DocumentPicker * @description * * Opens the file picker on iOS for the user to select a file, returns a file URI. - * Allows the user to upload files from icloud + * Allows the user to upload files from iCloud * * @usage * ```typescript @@ -33,13 +31,13 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; }) @Injectable() export class DocumentPicker extends IonicNativePlugin { - /** * Open a file - * @param {string} filters files between 'image', 'pdf' or 'all' + * @param {string} [option] files between 'image', 'pdf' or 'all' * @returns {Promise} */ @Cordova() - getFile(options?: string): Promise { return; } - + getFile(option?: string): Promise { + return; + } }