UNPKG
@mavrykdynamics/taquito-utils
Version:
latest (20.1.0)
20.1.0
20.0.4
20.0.3
20.0.2
20.0.1
20.0.0
19.2.3
19.2.2
19.2.1
19.2.0
19.0.2
17.5.2
17.5.0
17.3.3
17.3.2
converts michelson data and types into convenient JS/TS objects
@mavrykdynamics/taquito-utils
/
dist
/
types
/
format.d.ts
5 lines
(4 loc)
•
235 B
TypeScript
View Raw
1
2
3
4
5
import
BigNumber
from
'bignumber.js'
;
type
Format
=
'mv'
|
'mmv'
|
'mumav'
;
export
declare
function
format
(
from
:
Format
|
undefined
,
to
:
Format
|
undefined
,
amount
:
number
|
string
|
BigNumber
):
string
|
number
|
BigNumber
;
export
{};