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

developit / preact / 2658
100%
master: 100%

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

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

Jobs
ID Job ID Ran Files Coverage
1 2658.1 03 Mar 2019 02:43AM UTC 0
96.85
Travis Job 2658.1
Source Files on build 2658
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2658
  • f3b8f938 on github
  • Prev Build on ceviche (#2656)
  • Next Build on ceviche (#2660)
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