updated flowtype to v1.1.