TypeScript Compiler, modified to emit types for NanoJS