[TS] Don't null-check array conversions that aren't nullable