Clean up code for resolving an expression statement.
Clean up code for resolving an expression statement.

fdecampredon/jsx-typescript-old-version,fdecampredon/jsx-typescript-old-version,fdecampredon/jsx-typescript-old-version