mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
declare var serial: any;
|
||||
|
||||
@@ -58,7 +58,6 @@ export interface SerialOpenOptions {
|
||||
})
|
||||
@Injectable()
|
||||
export class Serial extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Request permission to connect to a serial device
|
||||
*
|
||||
@@ -137,5 +136,4 @@ export class Serial extends IonicNativePlugin {
|
||||
close(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user