-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
add TagsFrom
helper type
#3835
add TagsFrom
helper type
#3835
Conversation
🦋 Changeset detectedLatest commit: 38dea6d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 38dea6d:
|
How do you feel about the tests for this @Andarist? Edit: Ugh I just noticed that |
Ugh, we should achieve formatting parity with |
yeah, the situation is unfortunate - but we don't want to enable things like this at the moment here to avoid unnecessary merge conflicts when merging |
@Andarist makes perfect sense. nice changes, appreciate it! |
Hi yall! I saw a helper type request on Discord today that seemed easy enough to implement:
TagsFrom
TagsFrom
allows us to access the typegentags
type of aMachine
:State
, orInterpreter
If typegen isn't enabled,
TagsFrom
returnsstring
(which matcheshasTag
):