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

developit / preact / 1949
100%

Build:
DEFAULT BRANCH: master
Ran 21 Nov 2017 12:35AM UTC
Jobs 1
Files 15
Run time 2s
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
1949

Pull #937

travis-ci

web-flow
Added null to paren union type of render

This is require because when TypeScript has `strictNullChecks` set to true, in tsconfig.json, it errors out.

e.g.

```
import { render, h } from 'preact';
import TodoList from './components/todo-list';

const root = document.getElementById('root');

render(<TodoList />, root);
```

results in

```
TS2345: Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Document | Element'.
  Type 'null' is not assignable to type 'Document | Element'.
```
Pull Request #937: Added null to parent parameter union type of render

464 of 496 branches covered (93.55%)

15 of 15 relevant lines covered (100.0%)

69036.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1949.1 (CXX=g++-4.8) 21 Nov 2017 12:35AM UTC 0
100.0
Travis Job 1949.1
Source Files on build 1949
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1949
  • Pull Request #937
  • PR Base - master (#1948)
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