mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
docs(barcodescanner): add return type to scan()
This commit is contained in:
Vendored
+1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user