No overload matches this call. The last overload gave the following error. Type 'OutputSelector string>' is not assignable to type 'ParametricSelector'. Type 'string' is not assignable to type 'boolean'.ts(2769),