how to handle typescript error for type of string on query

welcome to shbcf.ru