look forward to是固定短语,在这个短语当中,to是介词,在它的后面可以接名词代词,或者是动名词。

We are looking forward to seeing the end of pandemic.(后接了动名词)They looked forward to the victory.(后接了名词)