Skip to content

Commit

Permalink
fix(barcodescanner): add missing options param
Browse files Browse the repository at this point in the history
closes #180
  • Loading branch information
ihadeed committed Jun 9, 2016
1 parent dfd9d60 commit 4fdcbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/barcodescanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any> { return; }
static scan(options?: any): Promise<any> { return; }

// Not well supported
// @Cordova()
Expand Down

0 comments on commit 4fdcbb5

Please sign in to comment.