DefinitelyTyped/types/express
Matt R. Wilson 214a509ac0
🤖 Merge PR #47017 [express] remove constraint that request params must be strings. by @mastermatt
* [express] remove constraint that request params must be strings.

Loosing this constraint was discussed in the original PR that added the generics, but it seems it was never followed though.
It's possible that middleware is used that would make alterations to the request params and their types before the request handler is executed.
This changes allows for the manual/explicit defining, while maintaining the default of a ParamsDictionary for the standard use case.

* fixup: missed test in static-core
2020-09-01 09:18:43 -04:00
..
express-tests.ts 🤖 Merge PR #47017 [express] remove constraint that request params must be strings. by @mastermatt 2020-09-01 09:18:43 -04:00
index.d.ts 🤖 Merge PR #47017 [express] remove constraint that request params must be strings. by @mastermatt 2020-09-01 09:18:43 -04:00
tsconfig.json
tslint.json