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

appannie / react-i18n-jed / 84 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 26 Dec 2018 04:05AM UTC
Files 6
Run time 1s
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

26 Dec 2018 04:03AM UTC coverage: 100.0%. Remained the same
84.1

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%)

2.38 hits per line

Source Files on job 84.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 64
  • Travis Job 84.1
  • 1ad934ef on github
  • Prev Job for on master (#75.2)
  • Next Job for on master (#85.1)
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