From d598bf34169c92e2de7382c492a4c1f3999c9d4e Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 8 Apr 2018 21:30:20 +0200 Subject: [PATCH] docs(file-encryption): typo --- .../plugins/file-encryption/index.ts | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/@ionic-native/plugins/file-encryption/index.ts b/src/@ionic-native/plugins/file-encryption/index.ts index 345cdb2e3..606d04045 100644 --- a/src/@ionic-native/plugins/file-encryption/index.ts +++ b/src/@ionic-native/plugins/file-encryption/index.ts @@ -1,5 +1,5 @@ -import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; /** * @name File Encryption @@ -30,23 +30,25 @@ import { Injectable } from '@angular/core'; }) @Injectable() export class FileEncryption extends IonicNativePlugin { - /** - * Enrcypt a file - * @param file {string} A string representing a local URI - * @param key {string} A key for the crypto operations + * Encrypt a file + * @param {string} file A string representing a local URI + * @param {string} key A key for the crypto operations * @return {Promise} Returns a promise that resolves when something happens */ @Cordova() - encrypt(file: string, key: string): Promise { return; } + encrypt(file: string, key: string): Promise { + return; + } /** * Decrypt a file - * @param file {string} A string representing a local URI - * @param key {string} A key for the crypto operations + * @param {string} file A string representing a local URI + * @param {string} key A key for the crypto operations * @return {Promise} Returns a promise that resolves when something happens */ @Cordova() - decrypt(file: string, key: string): Promise { return; } - + decrypt(file: string, key: string): Promise { + return; + } }