Change Connections to string

Connections are strings not numbers
This commit is contained in:
Julien Renaux
2015-12-15 10:03:54 -06:00
parent 56df28f76a
commit c92a91b9eb

View File

@@ -45,16 +45,16 @@ interface Connection {
* Connection.CELL
* Connection.NONE
*/
type: number
type: string
}
declare var Connection: {
UNKNOWN: number;
ETHERNET: number;
WIFI: number;
CELL_2G: number;
CELL_3G: number;
CELL_4G: number;
CELL: number;
NONE: number;
}
UNKNOWN: string;
ETHERNET: string;
WIFI: string;
CELL_2G: string;
CELL_3G: string;
CELL_4G: string;
CELL: string;
NONE: string;
}