Deal with TypeScript modules.