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(schematypes): allow defining map path using type: 'Map' in addition to type: Map #13960

Merged
merged 3 commits into from Oct 10, 2023

Conversation

vkarpov15
Copy link
Collaborator

Fix #13755

Summary

type: 'Map' is valid in JavaScript, but TypeScript types don't currently support that. This PR makes TypeScript recognize type: 'Map' in schemas.

Examples

test/types/maps.test.ts Outdated Show resolved Hide resolved
@vkarpov15 vkarpov15 merged commit 660ea80 into master Oct 10, 2023
3 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-13755 branch October 10, 2023 18:57
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.

Support string initialization for map in schema
3 participants