title: Angular 9: how can I create a .ts file alone?
body: <p>I'm new to Angular and now I want to create only a <code>.ts</code> file and not a whole component, can you please tell me how can I do it with <code>ng generate</code>?</p>
  <p>Use-Case :
  While building the application I want to write the build version to a <code>.ts</code>.I want to load this file when this build is deployed and display the build version to user.</p>