title: Enums vs Constant differences on Typescript
body: <p>If I need to use const variables I use this approach since it has a type safety.</p>
  
  <pre><code>export class LocalStorage {
      static USER_INFO = "user-info";
      static PROFILE_INFO = "profile-info";   
  }
  </code></pre>
  
  <p>But it seems we can use <code>string enums</code> like so:</p>
  
  <pre><code>export enum LocalStorage {
      USER_INFO = "user-info";
      PROFILE_INFO = "profile-info";   
   } 
  </code></pre>
  
  <p>What is the difference between these 2 approaches?</p>