Remove direct dependency on webbluetooth types

This commit is contained in:
Rob Moran
2018-01-10 01:45:00 +00:00
parent 6406c8ba64
commit 8007aeb421
3 changed files with 3 additions and 14 deletions

View File

@@ -23,16 +23,8 @@
* SOFTWARE.
*/
import { Bluetooth, BluetoothDevice } from "webbluetooth";
import { BluetoothRemoteGATTCharacteristic } from "webbluetooth";
import { EventDispatcher } from "./dispatcher";
declare global {
interface Navigator {
bluetooth: any;
}
}
const CONTROL_UUID = "8ec90001-f315-4f60-9fb8-838830daea50";
const PACKET_UUID = "8ec90002-f315-4f60-9fb8-838830daea50";
const BUTTON_UUID = "8ec90003-f315-4f60-9fb8-838830daea50";