title: Console input in TypeScript
body: <p>How do I take in a console input from a user in TypeScript?</p>
  
  <p>For example, in Python I would use:</p>
  
  <pre><code>userInput = input("Enter name: ")
  </code></pre>
  
  <p>What is the equivalent in TypeScript?</p>