frolovdev/easymoney

TypeError: t.indexOf is not a function

Closed this issue · 2 comments

Describe the bug

A money property passed createMoneyIntlFormatter causes an exception.

To Reproduce

  1. Create a money object.
  2. Pass it into createMoneyIntlFormatter().format()

The current behavior

Uncaught TypeError: t.indexOf is not a function
at o (number.ts?3110:111)
at eval (money.ts?a69b:18)
at eval (money.ts?a69b:36)
at UITerminalItem.render (index.tsx?8387:61)

Hi, thanks for the bug, can't reproduce by myself, needs a little bit more information

  1. Could you provide a snippet of code?
  2. And also, please share versions of the libs

Closed, because no additional info was provided