Enable strip-types transform for internal code

Flow is coming so we need to be ready.
Merge pull request #2708 from zpao/strip-types

Enable strip-types transform for internal code