Skip to content

docs(runtime): document composing actions with unwrap() for Result - #6

Merged
jhnns merged 1 commit into
mainfrom
runtime-result-helper
Aug 3, 2026
Merged

docs(runtime): document composing actions with unwrap() for Result#6
jhnns merged 1 commit into
mainfrom
runtime-result-helper

Conversation

@jhnns

@jhnns jhnns commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds an "Actions that return a Result" section to the runtime README, showing how to compose an action with unwrap() from @peerigon/typescript-toolkit/unwrap so a Result-returning fn throws instead of needing manual unwrapping at every call site.

Test plan

  • npm run test:unit
  • npm run test:types
  • npm run test:lint
  • npm run test:format
  • npm run test:build:size

🤖 Generated with Claude Code

@pkg-pr-new

pkg-pr-new Bot commented Aug 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@peerigon/typescript-toolkit@6

commit: d89d9d6

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 30847129604

Coverage remained the same at 95.627%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 575
Covered Lines: 562
Line Coverage: 97.74%
Relevant Branches: 294
Covered Branches: 269
Branch Coverage: 91.5%
Branches in Coverage %: Yes
Coverage Strength: 14.89 hits per line

💛 - Coveralls

@jhnns
jhnns merged commit bd3f307 into main Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants