react instal typescript 3.5 version code example Example: install typescript using npm npm install -g typescript