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

types(schema): correctly infer Array<Schema.Types.*> #14534

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

vkarpov15
Copy link
Collaborator

Re: #14367

Summary

Part of the issue in this comment is that we don't infer correct type in TypeScript when user uses path: [Schema.Types.String] to define an array of strings.

Examples

@hasezoey hasezoey added the typescript Types or Types-test related issue / Pull Request label Apr 25, 2024
@vkarpov15 vkarpov15 added this to the 8.3.3 milestone Apr 29, 2024
@vkarpov15 vkarpov15 merged commit af2afc1 into master Apr 29, 2024
5 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-14367-2 branch April 30, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Types or Types-test related issue / Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants