The TypeScript code here is not linted, which introduces possible issues and increases maintenance and review cost. Tasks: - Add TypeScript linter to the CI, - Fix offending issues.