file attachments

The IO module is not intended to be used by whatever code you are compiling & executing. Ideally, when your code executes, none of the objects the TypeScript compiler has setup would be available to you. This is only available as an artifact of the
limitations of certain hosts in settings up a new context.

If you want to write to the console when you code executes after it is compiled, you should use the host methods of the native JavaScript environment (e.g. console.log), not the IO object the TypeScript compiler has left hanging around.