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? |
Answered by
spoenemann
Jan 15, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sounds like a bug 👉 #2098