Get current version of a FoO at runtime

Context: I have a Typescript FoO that is running some business logic and stores the result into an object. For monitoring purposes I want to store the version of the logic within the object.

Question: How can I get the functions version at runtime of the function itself?