Mixed is some wet fantasy authors chai — this type is not in the JS or even TS or Flow. If separately down to the docks does not indicate that it is for example Mixed number | string, you just have to look in the source code and try to use to understand what was being implied. Apparently meant "anything, different every time", very useful documentation:)
Judging
by the code — only accepts Data and number.
How not to suffer:
expect('test' > 'rest').to.be.true;
. It seems counter-intuitive, but in fact, such tests are easier to read and maintain.
here's a question about mixed toaster
And how then to advance from the documentation to know which types can be transferred?(maybe I this question new ask on the toaster)))) because JSDoc mixed I saw. - karley.Abshi commented on June 8th 19 at 17:39
it seems that in the dock a simple mistake. Please create an issue on github or make a pull request. Perhaps there is another function that suits you. But most likely, your problem can be solved somehow differently. - leanne.Robel commented on June 8th 19 at 17:42