Even tought Javascript is not a strong typed language I would like to tell VSCode about the type of some variables.
Like the snippet code in image below I would like to tell VSCode that task_id is a string variable.
I tried to specify it using a comment before the variable declaration (I've see this trick from this answer, but that apparently doesn't work with VSCode. Is there any VSCode plugin or something else to do that?