mirror of
https://github.com/knex/knex.git
synced 2025-08-03 06:12:10 +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