UNPKG

money-ts

Version:

TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals

4 lines (3 loc) 213 B
import { Type, mixed } from 'io-ts'; import { ExchangeRate as ExchangeRateNewtype } from '../ExchangeRate'; export declare const ExchangeRate: <S, D>() => Type<ExchangeRateNewtype<S, D>, [string, string], mixed>;