use the same `typeof` style with line 7