Skip to content

Conversation

Minigugus
Copy link
Contributor

@Minigugus Minigugus commented Jul 30, 2022

Fixes #407 undefined were missing on optional properties
Fixes #446 undefined were not allowed in insert helper calls

Also, it seems that sql fragments were not allowed by types (it's strange that no user have issues with this bug yet 🤔 but it's fixed now anyway)

I don't know if I should run the build script for transpilation; some commits where not transpiled, poluting the PR if I commit these changes 😕

@porsager porsager merged commit 097d272 into porsager:master Aug 9, 2022
porsager pushed a commit that referenced this pull request Feb 1, 2023
* Support `exactOptionalPropertyTypes` - fixes #407

* Allow `undefined` properties with insert helper (types only) - fixes #446

* Allow sql fragements as tagged template parameters (types only)
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.

TypeError: doesn't work if exactOptionalPropertyTypes:true in tsconfig.json
2 participants