system.setModuleId workaround TypeScript issue