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

Backport typings related changes to 0.17 #3270

Merged
merged 2 commits into from Jun 8, 2019
Merged

Backport typings related changes to 0.17 #3270

merged 2 commits into from Jun 8, 2019

Conversation

lorefnon
Copy link
Collaborator

@lorefnon lorefnon commented Jun 8, 2019

* Use number instead of number | string for return type of count

Closes #3247

* Use an alias instead of interface for DeferredKeySelection

This prevents typescript from complaining when it has to be used in an exported signature without us having to expose internal type as public

Closes #3259

* Make count result type overridable

* Disable interface-over-type-literal rule
@kibertoad
Copy link
Collaborator

@lorefnon Ooooh, this is amazing, thank you! Shall I release next version as soon as this is merged, or you prefer to get documentation ready first?

@lorefnon
Copy link
Collaborator Author

lorefnon commented Jun 8, 2019

Thanks :) The ts docs are also pretty much done from my end. If you have any suggestions there I can take care of them.

@kibertoad
Copy link
Collaborator

@lorefnon Just a couple of minor spelling things. Feel free to merge it when you want :)

@kibertoad kibertoad merged commit f37e3bc into knex:0.17 Jun 8, 2019
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