When you call e.g. DatasetClient.listItems and pass limit: NaN into the options, you get a hard-to-understand error:
Expected property `limit` to be of type `number` but received type `number` in object `options`
It would be nice to throw an error that would tell the user what's the problem
Reported on Slack https://apify.slack.com/archives/C0L33UM7Z/p1756383790250069
When you call e.g.
DatasetClient.listItemsand passlimit: NaNinto theoptions, you get a hard-to-understand error:It would be nice to throw an error that would tell the user what's the problem
Reported on Slack https://apify.slack.com/archives/C0L33UM7Z/p1756383790250069