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

pelotom / runtypes / 344 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2019 09:29PM UTC
Files 28
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

31 Mar 2019 09:27PM UTC coverage: 98.899% (+0.03%) from 98.866%
344.1

push

travis-ci

pelotom
Add `isReadonly` flag to Array and Record runtypes (#80)

The flag causes the static type to change. For Record the static type has all properties marked readonly, and for Array the result type is the TS ReadonlyArray (or `readonly T[]` in the upcoming 3.4 version).

Both runtypes also have a convenience method, `asReadonly`, which returns the same type but with the `isReadonly` flag set to true. Some users may prefer the method call over setting the flag for esthetic reasons.

133 of 137 branches covered (97.08%)

Branch coverage included in aggregate %.

316 of 317 relevant lines covered (99.68%)

299.41 hits per line

Source Files on job 344.1
  • Tree
  • List 0
  • Changed 22
  • Source Changed 3
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 313
  • Travis Job 344.1
  • 738098fb on github
  • Prev Job for on master (#343.1)
  • Next Job for on master (#347.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