Skip to content

Commit

Permalink
docs(zoe): fix amount/Amount typo, duplicate MultiplyBy (#4388)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
dckc and mergify[bot] authored Jan 26, 2022
1 parent 8a8335e commit b71223d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/zoe/src/contractSupport/types.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
/// <reference types="ses"/>

/**
Expand Down Expand Up @@ -146,23 +147,21 @@
* @callback MultiplyBy
* @param {Amount} amount
* @param {Ratio} ratio
* @returns {amount}
* @returns {Amount}
*/

/**
* @callback DivideBy
* @param {Amount} amount
* @param {Ratio} ratio
* @returns {amount}
* @returns {Amount}
*/

/**
* @typedef {MultiplyBy} CeilMultiplyBy
* @typedef {MultiplyBy} FloorMultiplyBy
* @typedef {DivideBy} FloorDivideBy
* @typedef {DivideBy} CeilDivideBy
* @typedef {MultiplyBy} DivideBy - use floorDivideBy() or ceilDivideBy()
* @typedef {DivideBy} MultiplyBy - use floorMultiplyBy() or ceilMultiplyBy()
*/

/**
Expand Down

0 comments on commit b71223d

Please sign in to comment.