title: How do I convert a typescript enum value to string
body: <p>I have an enum in typscript. I need to convert the value of the enum to string so that I can pass this to an api endpoint.  How do I do this? Thanks.</p>
  
  <pre><code>enum RecordStatus {
      CancelledClosed = 102830004,
      Completed = 102830003,
      InProgress = 102830002,
      ShoppingCart = 102830005,
      Submitted = 102830001,
      Unordered = 102830000
  }
  </code></pre>
  
  <p>example: </p>
  
  <pre><code>var submittedStrValue = RecordStatus.Submitted // I want to get "10283001" (note the string value rather than the int value. 
  </code></pre>