mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
lint
This commit is contained in:
parent
bf88f6ee51
commit
2ae2a683d2
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
export interface OpenALPROptions {
|
||||
/** Country used for scanning the license plate */
|
||||
@ -48,10 +48,8 @@ export interface OpenALPRResult {
|
||||
repo: 'https://github.com/iMicknl/cordova-plugin-openalpr',
|
||||
platforms: ['Android', 'iOS']
|
||||
})
|
||||
|
||||
@Injectable()
|
||||
export class OpenALPR extends IonicNativePlugin {
|
||||
|
||||
Country = {
|
||||
AU: 'au',
|
||||
BR: 'br',
|
||||
@ -70,5 +68,7 @@ export class OpenALPR extends IonicNativePlugin {
|
||||
* @return {Promise<any>} Returns a promise that resolves when something happens
|
||||
*/
|
||||
@Cordova()
|
||||
scan(imageData: any, options?: OpenALPROptions): Promise<any> { return; }
|
||||
scan(imageData: any, options?: OpenALPROptions): Promise<any> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user