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