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

BigstickCarpet / ono / 115 / 1
88%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v4.0.8
DEFAULT BRANCH: master
Ran 29 Aug 2018 01:15AM UTC
Files 1
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

29 Aug 2018 01:13AM UTC coverage: 93.204% (+5.8%) from 87.379%
115.1

Pull #5

travis-ci

web-flow
Fix typedef

Since `module.exports` is actually overwritten by the function returned by `create(Error)`, this is not an es6-module compatible scenario.
With this change,
```ts
import * as ono from 'ono'
throw ono(new Error('ono'))
```
and, perhaps more correctly
```ts
import ono = require('ono')
throw ono(new Error('ono'))
```
typecheck and generate correct code.

Before this change, only
```ts
import ono from 'ono'
throw ono(new Error('ono'))
```
and
```ts
import * as themodule from 'ono'
throw themodule.default(new Error('ono'))
```
would typecheck, both of which would throw at runtime by trying to call `ono.default()` or `ono.default.syntax()`, etc...
Pull Request #5: Fix typedef

41 of 50 branches covered (82.0%)

96 of 103 relevant lines covered (93.2%)

436.73 hits per line

Source Files on job 115.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 113
  • Travis Job 115.1
  • 0149bcb0 on github
  • Prev Job for on patch-1 (#113.2)
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

© 2025 Coveralls, Inc