Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore existing type inference behaviour of z.ZodObject (#1122)
* Fix addQuestionsMarks so it resolves correctly in more cases Fixes this issue: colinhacks/zod#1121 Specifically, `{ property: (T | undefined) & T }` does not seem to flatten to `{ property: T }` in the case that T is a complex string literal. * Ran lint on languageServerFeatures.test.ts
- Loading branch information
Showing
3 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters