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

Document union property key workaround #456

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

JordonPhillips
Copy link
Contributor

This adds to the doc strings for property keys and typed properties a warning about using union types and a description of the workaround. It's essentially the same thing in four places, but it's a big enough deal to warrant being pasted all over.

I also added a test to make sure it works.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@JordonPhillips JordonPhillips requested a review from a team as a code owner March 20, 2025 13:58
This adds to the doc strings for property keys and typed properties
a warning about using union types and a description of the
workaround. It's essentially the same thing in four places, but it's
a big enough deal to warrant being pasted all over.

I also added some test cases to make sure it works.
@JordonPhillips JordonPhillips force-pushed the document-property-key-workaround branch from 0336e19 to 9898e14 Compare March 20, 2025 14:01
@JordonPhillips JordonPhillips merged commit 9235ea7 into develop Mar 20, 2025
2 checks passed
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.

2 participants