fix(chooser): @param accept is supposed to be optional (#3134)

This commit is contained in:
Eliran Assaraf 2019-08-09 05:08:20 -04:00 committed by Daniel Sogl
parent 5cc91bc79a
commit f3b8e34091

View File

@ -61,7 +61,7 @@ export class Chooser extends IonicNativePlugin {
* base64-encoded data: URI, MIME type, display name, and original URI.
*/
@Cordova()
getFile(accept: string): Promise<ChooserResult | undefined> {
getFile(accept?: string): Promise<ChooserResult | undefined> {
return;
}
}