I have a REST API backend project written in TypeScript where I want to be able to see when the Javascripts were generated.
In my Express routes I want to have a route called '/version' which only returns a string, '2018-12-19 08:39:00.000'.
Is there a simple way, in my .ts file, to make sure that the .js file generated gets the actual timestamp from when the transpilation from .ts to .js was done?
My project uses tsc to compile. It doesn't use webpack.