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

pelotom / runtypes / 344
96%

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

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 %.

32 of 32 new or added lines in 3 files covered. (100.0%)

316 of 317 relevant lines covered (99.68%)

299.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 344.1 31 Mar 2019 09:29PM UTC 0
98.9
Travis Job 344.1
Source Files on build 344
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #344
  • 738098fb on github
  • Prev Build on master (#343)
  • Next Build on master (#347)
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