From 62241105c83948eae83a8c54c77460fdab1b5fd0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 8 Apr 2018 20:44:06 +0200 Subject: [PATCH] docs(card-io): fix jsdoc --- src/@ionic-native/plugins/card-io/index.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/@ionic-native/plugins/card-io/index.ts b/src/@ionic-native/plugins/card-io/index.ts index 4313dd509..281411c3c 100644 --- a/src/@ionic-native/plugins/card-io/index.ts +++ b/src/@ionic-native/plugins/card-io/index.ts @@ -1,8 +1,7 @@ import { Injectable } from '@angular/core'; -import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; export interface CardIOOptions { - /** * Set to true to require expiry date */ @@ -82,11 +81,9 @@ export interface CardIOOptions { * Once a card image has been captured but before it has been processed, this value will determine whether to continue processing as usual. */ supressScan?: boolean; - } export interface CardIOResponse { - /** * Card type */ @@ -126,7 +123,6 @@ export interface CardIOResponse { * Cardholder name */ cardholderName: string; - } /** @@ -173,7 +169,6 @@ export interface CardIOResponse { }) @Injectable() export class CardIO extends IonicNativePlugin { - /** * Check whether card scanning is currently available. (May vary by * device, OS version, network connectivity, etc.) @@ -181,21 +176,26 @@ export class CardIO extends IonicNativePlugin { * @returns {Promise} */ @Cordova() - canScan(): Promise { return; } + canScan(): Promise { + return; + } /** * Scan a credit card with card.io. - * @param {CardIOOptions} options Options for configuring the plugin + * @param {CardIOOptions} [options] Options for configuring the plugin * @returns {Promise} */ @Cordova() - scan(options?: CardIOOptions): Promise { return; } + scan(options?: CardIOOptions): Promise { + return; + } /** * Retrieve the version of the card.io library. Useful when contacting support. * @returns {Promise} */ @Cordova() - version(): Promise { return; } - + version(): Promise { + return; + } }