UNPKG
@sambruca/xe-client
Version:
latest (0.0.1)
0.0.1
Node client for interactive with XE API
@sambruca/xe-client
/
dist
/
client.d.ts
6 lines
(5 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
IXEClientRatesResult
}
from
"./types"
;
export
interface
IXEClient
{
getRateForDate
:
(
fromCurrency
:
string
,
toCurrencies
:
string
[],
currencyDate
:
Date
) =>
Promise
<
IXEClientRatesResult
>; }
export
declare
const
xeClient
:
(
xeApiId
:
string
,
xeApiKey
:
string
) =>
IXEClient
;