Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TypeScript] Allow config.client to be non-client instance #4367

Merged
merged 1 commit into from
Mar 11, 2021

Conversation

thomaschaaf
Copy link
Contributor

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

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
@kibertoad kibertoad merged commit 4f6391c into knex:master Mar 11, 2021
@kibertoad
Copy link
Collaborator

Thanks!

@thomaschaaf thomaschaaf deleted the patch-1 branch March 11, 2021 22:23
@kibertoad
Copy link
Collaborator

Released in 0.95.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants