UNPKG

@iotile/iotile-device

Version:

A typescript library for interfacing with IOTile BLE devices

25 lines (22 loc) 549 B
///<reference path="cordova_ble.d.ts"/> export {}; interface Raven { setUserContext: ({}) => void; captureException: (message: any) => void; config: (url:string, options: {[key: string]: any}) => any; } declare global { interface Window { ble: CordovaBLECentral; device: any; fabric: any; //@ts-ignore cordova: any; Raven: Raven; resolveLocalFileSystemURL: (path: string, successCallback: (entry: any) => void, errorCallback: (any: any) => void) => void; FileTransfer: any; StatusBar: any; ionic: any; plugins: any; } }