docs(barcodescanner): add return type to scan()

This commit is contained in:
Tim Lancina
2016-02-15 08:59:44 -06:00
parent 7b6395817e
commit 0fc8b0f929
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -24,6 +24,7 @@ var BarcodeScanner = (function () {
}
/**
* Open the barcode scanner.
* @return Returns a Promise that resolves with scanner data, or rejects with an error.
*/
BarcodeScanner.scan = function () {
// This Promise is replaced by one from the @Cordova decorator that wraps