mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
refactor: update lint rules
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import {
|
||||
Cordova,
|
||||
CordovaProperty,
|
||||
IonicNativePlugin,
|
||||
Plugin
|
||||
} from '@ionic-native/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
|
||||
/* Available status of device */
|
||||
@@ -67,7 +72,7 @@ export interface InitParams extends InitPeripheralParams {
|
||||
export interface ScanParams {
|
||||
/* An array of service IDs to filter the scan or empty array / null. This parameter is not supported on Windows platform yet */
|
||||
services?: string[];
|
||||
/** True/false to allow duplicate advertisement packets, defaults to false (iOS)*/
|
||||
/* True/false to allow duplicate advertisement packets, defaults to false (iOS)*/
|
||||
allowDuplicates?: boolean;
|
||||
/** Defaults to Low Power. Available from API21 / API 23 (Android) */
|
||||
scanMode?: BluetoothScanMode;
|
||||
@@ -181,7 +186,7 @@ export interface MTU extends DeviceInfo {
|
||||
}
|
||||
|
||||
export interface BondedStatus extends CommonInfo {
|
||||
/** Bonded status*/
|
||||
/* Bonded status*/
|
||||
isBonded: boolean;
|
||||
}
|
||||
|
||||
@@ -322,7 +327,7 @@ export interface DescriptorResult extends OperationResult {
|
||||
export interface Characteristics extends DeviceInfo {
|
||||
/** Service's id */
|
||||
service: string;
|
||||
/** Array of characteristic objects*/
|
||||
/* Array of characteristic objects*/
|
||||
characteristics: Characteristic[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user