hyper
hyper copied to clipboard
Optimization in Index and api .ts both in CLI
In index.ts, the code has been refactored for improved consistency, and error handling. It now utilizes asynchronous operations more effectively, resulting in a cleaner and well-structured code.
In api.ts, optimizations include organized imports, simplified boolean checks, and enhanced function signatures. Asynchronous operations have been handled more efficiently, contributing to better code clarity.