Check out example codes for "disabled typescript extension". It will help you in understanding the concepts better.

Code Example 1

"typescript.validate.enable": false,
"javascript.validate.enable": false,

Learn ReactJs, React Native from akashmittal.com