mirror of
https://github.com/knex/knex.git
synced 2025-08-01 21:32:11 +00:00

TypeScript makes it very hard to get typescript to correctly check the `instanceof Client` part of the statement. See: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work