Type alias ConversionRateResponse

ConversionRateResponse: {
    error: string;
    success: false;
} | {
    conversionRate: number;
    success: true;
}

Type declaration

  • error: string
  • success: false

Type declaration

  • conversionRate: number
  • success: true