Update: Restarting VS Code (without changing the code) helped, weird. Sorry, the question can be closed.