bus-mj 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +15 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,9 +1,18 @@
1
1
  // index.d.ts
2
2
 
3
3
  declare module 'bus-mj' {
4
- export function getBus(arg1: string, arg2: string): [{}];
5
- export function getAllBus(): [{}];
6
- export function getAllStop(): [{}];
7
- export function getStop(arg1: number): [{}];
8
- }
9
-
4
+ export function getBus(arg1: string, arg2: string): [{
5
+ BUS_ID: number,
6
+ BUS_NAME: string,
7
+ BUS_PLAQUE: string,
8
+ LONG: string,
9
+ TIME: string,
10
+ YOUR_TRAJET: []
11
+ }];
12
+ export function getAllBus(): [{
13
+ BUS_ID: number,
14
+ BUS_NAME: string
15
+ }];
16
+ export function getAllStop(): [];
17
+ export function getStop(arg1: number): [];
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bus-mj",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "package for BUS station in Mahajanga",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",