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

Code Example 1

//Visual studio code now supports this functionality for Typescript documents
//#region Region Name Here
	//Code content here
//#endregion

Learn ReactJs, React Native from akashmittal.com