How to fix Template literal type cannot contain template literal in TypeScript | DevErrors