adspace


How to declare variable in typescript?

Answer Posted / Chandra Mohan Agrawal

To declare a variable in TypeScript, you start by defining its type followed by the variable name. For example: let myVariable: string = 'Sample Value';

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who developed typescript and what is the current stable version of typescript?

275


What is the current stable version of typescript?

316