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

developit / preact / 2658 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/inproper_unmount
DEFAULT BRANCH: master
Ran 03 Mar 2019 02:43AM UTC
Files 18
Run time 23s
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

03 Mar 2019 02:39AM UTC coverage: 96.854% (+1.9%) from 94.938%
2658.1

push

travis-ci

andrewiggins
Reverse order of overloaded h() type definitions

For overloaded functions, TypeScript reports errors based on the last of
the overloaded definitions. For `h`'s overloaded definitions, the string
version is currently last. When type checking of an `h` call fails (for
example, due to a missing prop, or due to an incorrect prop type),
TypeScript simply says "Argument of type 'typeof OurComponent' is not
assignable to parameter of type 'string'." This patch switches the order
of the `h` definitions, so that the h<P> version comes last. This makes
TypeScript report a more specific error that will include missing props,
etc.

650 of 695 branches covered (93.53%)

708 of 731 relevant lines covered (96.85%)

402.31 hits per line

Source Files on job 2658.1
  • Tree
  • List 0
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2501
  • Travis Job 2658.1
  • f3b8f938 on github
  • Prev Job for on ceviche (#2656.1)
  • Next Job for on ceviche (#2660.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