Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Type annotations can only be used in TypeScript files.

one solution can be to disable the typescript check. so inside the settings.json
add the below code line

"javascript.validate.enable": false
 
PREVIOUS NEXT
Tagged: #Type #annotations #TypeScript
ADD COMMENT
Topic
Name
1+5 =