Fragment matcher json without possible types #5835
Unanswered
electerious
asked this question in
Q&A
Replies: 1 comment
-
It's not possible currently. Would you create a PR for that feature? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm generating a
possibleTypes.json
with thefragment-matcher
plugin. The JSON however doesn't contain the possible types directly and instead has another key calledpossibleTypes
.What I currently get:
What I want:
Is is possible to get a JSON that contains the possible types directly? This would make the import a lot nicer (it's currently
import possibleTypes from '@repo/possibleTypes'
and I get the types viapossibleTypes.possibleTypes
.Beta Was this translation helpful? Give feedback.
All reactions