Remove convert timeout to number type in case typeof not string by spirinvladimir · Pull Request #39 · expressjs/timeout
We may want to make a different change, perhaps actually guard against non-numbers if we are not going to convert inputs into numbers. This is because this change is altering the input behavior vs removing dead code -- and tests in the test suite are imperfect, they only test what someone put in there :) As an example, calling with the argument [2000] would set a 2s timeout before and after this change, but the .timeout property on the error will be an array instead of a number.