From 4fdcbb57263f282b45b837060b1d04fe2f68d7d4 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Thu, 9 Jun 2016 09:38:58 -0400 Subject: [PATCH] fix(barcodescanner): add missing options param closes #180 --- src/plugins/barcodescanner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/barcodescanner.ts b/src/plugins/barcodescanner.ts index 31398efad..67d0c9885 100644 --- a/src/plugins/barcodescanner.ts +++ b/src/plugins/barcodescanner.ts @@ -32,7 +32,7 @@ export class BarcodeScanner { * @return Returns a Promise that resolves with scanner data, or rejects with an error. */ @Cordova() - static scan(): Promise { return; } + static scan(options?: any): Promise { return; } // Not well supported // @Cordova()