Fixed module format to match an actual module system. TypeScript was emitting it as it is in the file, but not suitable for integration with Node.