Open RobIsHere opened 2 months ago
I can't replicate this in the playground - does this happen when you run TSC, or just in your IDE? Which IDE are you using?
Thanks for looking into this. The error was in both, on the webpack typescript compiler in the devserver. And additionally it was shown in VS Code.
I can try to make a reproduction, but it will take some time because I'm super busy with a tight work project timeline right now.
I've seen all the other issues and double checked that "strict": true is in my tsconfig.json "typescript": "^4.9.5" with up to date create react app setup
This Works as part of a slice and the created action creator becomes ActionCreatorWithPayload
This does not work and the action creator becomes ActionCreatorWithOptionalPayload