Skip to content

Commit

Permalink
fix: declare amountMathKind parameter to makeissuerkit optional
Browse files Browse the repository at this point in the history
The mathHelperName was changed to amountMathKind, and it's optional in
the code. This updates the type declaration to match.

fixes: #1373
  • Loading branch information
Chris-Hibbert committed Sep 3, 2020
1 parent f4725f2 commit a21832a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ERTP/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
/**
* @callback MakeIssuerKit
* @param {string} allegedName
* @param {AmountMathKind} amountMathKind
* @param {AmountMathKind=} amountMathKind
* @returns {IssuerKit}
*
* The allegedName becomes part of the brand in asset descriptions. The
Expand Down

0 comments on commit a21832a

Please sign in to comment.