To ensure better code quality and reliability, we should enable the strict mode in TypeScript compiler configurations, which could help us to avoid possible null or undefined exceptions in runtime. Also, we should add linter rules for rxjs to avoid possible memory leak or unscoped operations.