Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add tests for multiple union arguments with callbacks and builders #2749
I've been sending pull requests the TypeScript DefinitelyTyped repo when I've found things like this, but I thought it might be nice to also upstream some test changes as I run across cases that aren't being covered already and are ambiguous in the documentation. I'll also open a documentation PR that disambiguates this, too.
Most of these tests are superfluous once/if knex moves to TypeScript, since it is more or less just type assertions.