UNPKG
@canguro/horse
Version:
latest (0.1.0)
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Deliver your data to wherever you wish, when you wish and how you wish.
gitlab.com/nir_patel/horse
@canguro/horse
/
src
/
Destinations.ts
10 lines
(6 loc)
•
262 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
HorseDestination
}
from
'../definitions/HorseDestination'
;
const
destinations
:
HorseDestination
[] = [];
export
const
add
= (
destination: HorseDestination
) => { destinations.
push
(destination); };
export
const
getAll
= (
) => destinations;