I’ve noticed VSCode language extensions intermittently bug out all the time (not just rescript, typescript too). If I see an issue in the editor but the command line shows okay, you can try restarting rescript’s LS - fixes it for me sometimes. In VSC, open the command palette (ctrl + shift + p), and type “rescript” and select “Rescript: Restart Language Sever”
↧