docs(crop): add missing docs

This commit is contained in:
Daniel
2018-04-08 20:48:14 +02:00
parent 7f24f89fc4
commit bca7f38bbf
+2 -2
View File
@@ -38,8 +38,8 @@ export interface CropOptions {
export class Crop extends IonicNativePlugin {
/**
* Crops an image
* @param pathToImage
* @param options
* @param {string} pathToImage
* @param {CropOptions} [options]
* @returns {Promise<string>} Returns a promise that resolves with the new image path, or rejects if failed to crop.
*/
@Cordova({