• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

appannie / react-i18n-jed / 84
100%

Build:
DEFAULT BRANCH: master
Ran 26 Dec 2018 04:05AM UTC
Jobs 2
Files 6
Run time 16s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
84

push

travis-ci

web-flow
Reduce amount of generic type (#17)

This PR is trying to reach a middle step between current status and the status of https://github.com/appannie/react-i18n-jed/pull/16

By removing the second generic type, we actually add extra coverage around the locations where the context cause flow to silently set the type to `any`. (this catched 15 errors on our main repo)

And it'll allow us to easily fill in the generic type manually in order to be 100% sure the types aren't `any`. This will make it easily usable with both flow 0.84 and and 0.89.

```js
export default translate<typeof Comp>(Comp);
```

5 of 5 branches covered (100.0%)

Branch coverage included in aggregate %.

16 of 16 relevant lines covered (100.0%)

4.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 84.1 26 Dec 2018 04:05AM UTC 0
100.0
Travis Job 84.1
2 84.2 26 Dec 2018 04:05AM UTC 0
100.0
Travis Job 84.2
Source Files on build 84
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #84
  • 1ad934ef on github
  • Prev Build on master (#75)
  • Next Build on master (#85)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc