Inline aliases before type checking
Inline aliases before type checking

Fix #1053 and fix #1062 on github issue tracker

PiperOrigin-RevId: 100724680

google/j2cl,google/j2cl,google/j2cl,google/j2cl,google/j2cl