diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000..0621cca1bf Binary files /dev/null and b/.DS_Store differ diff --git a/DEVELOPER.md b/DEVELOPER.md index 78ad3045b8..888361a5bd 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -98,7 +98,7 @@ You need to run `npm run build` in the `ionic-native` project, this will create ### Cleaning the code -You need to run `npm run tslint` to analyze the code and ensure it's consistency with the repository style. Fix any errors before submitting a PR. +You need to run `npm run lint` to analyze the code and ensure it's consistency with the repository style. Fix any errors before submitting a PR. ### 'Wrapping' Up diff --git a/src/plugins/base64togallery.ts b/src/plugins/base64togallery.ts index f4b86f0008..6e5f633656 100644 --- a/src/plugins/base64togallery.ts +++ b/src/plugins/base64togallery.ts @@ -24,7 +24,7 @@ export class Base64ToGallery { /** * Converts a base64 string to an image file in the device gallery * @param {string} data The actual base64 string that you want to save - * @param {any} options (optional) An object with properties: prefix, mediaScanner + * @param {any} options (optional) An object with properties: prefix: string, mediaScanner: boolean. Prefix will be prepended to the filename. If true, mediaScanner runs Media Scanner on Android and saves to Camera Roll on iOS; if false, saves to Library folder on iOS. * @returns {Promise} returns a promise that resolves when the image is saved. */ @Cordova() diff --git a/src/plugins/camera-preview.ts b/src/plugins/camera-preview.ts index c6038eef58..492ecb4cf0 100644 --- a/src/plugins/camera-preview.ts +++ b/src/plugins/camera-preview.ts @@ -99,7 +99,7 @@ export class CameraPreview { @Cordova({ sync: true }) - static hide(): voi { }; + static hide(): void { }; /** * Set the default mode for the Flash.