This commit adds support for template substitution expressions for ngtsc static resolution. PR Close #24862