Following part 3 of Apple\'s tutorial on SwiftUI, Handling User Input, I get this error:
Unable to infer complex closure return type; add explicit ty
I have run into this error when made a typo. Also this error appears when a code has syntax issues. Just check if your changes are correct