Strict mode and fragments #2097
-
|
I like the idea of using strict mode, it seems it could save a lot of pain. However, I also use fragments, and when I turned strict mode on, the fragments are flagged with "Inferred types are not allowed in strict mode". If I attempt to assign them an interface, it gives the error that "Fragment rules cannot specify a return type". Are fragments and strict mode incompatible? |
Beta Was this translation helpful? Give feedback.
Answered by
spoenemann
Jan 15, 2026
Replies: 1 comment 1 reply
-
|
Sounds like a bug 👉 #2098 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Greglar4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sounds like a bug 👉 #2098