From 94bd82097c4a414c02a65e5924468a8363035e46 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Fri, 5 May 2017 20:19:31 +0200 Subject: [PATCH] docs(zbar): fix import and usage (#1467) * docs(zbar): fixed import and usage * Update index.ts * Update index.ts --- src/@ionic-native/plugins/zbar/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/@ionic-native/plugins/zbar/index.ts b/src/@ionic-native/plugins/zbar/index.ts index 90f9761f1..3fb463c8d 100644 --- a/src/@ionic-native/plugins/zbar/index.ts +++ b/src/@ionic-native/plugins/zbar/index.ts @@ -44,18 +44,18 @@ export interface ZBarOptions { * * @usage * ```typescript - * import { ZBar, ZBarOptions } from '@ionic-native/z-bar'; + * import { ZBar, ZBarOptions } from '@ionic-native/zbar'; * * constructor(private zbar: ZBar) { } * * ... * - * let ZBarOptions = { + * let options: ZBarOptions = { * flash: 'off', * drawSight: false * }; * - * this.zbar.scan(zBarOptions) + * this.zbar.scan(options) * .then(result => { * console.log(result); // Scanned code * })