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

palcarazm / component-lifecycle / 24305052624
100%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2026 10:55AM UTC
Jobs 2
Files 2
Run time 1min
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

12 Apr 2026 10:54AM UTC coverage: 100.0%. Remained the same
24305052624

push

github

web-flow
feat: add ExtendableEventMap helper for type-safe custom events (#16)

- Add second generic parameter TEventMap to Component class
- Implement ExtendableEventMap type that merges lifecycle events with custom events
- Add NoLifecycleKeys type to prevent event name conflicts at compile time
- Update emit(), on(), once(), and off() methods to use TEventMap
- Add comprehensive documentation with examples and warnings
- Add tests for custom events including type checking and conflict detection

The new ExtendableEventMap helper allows users to extend the event system
with application-specific events while maintaining full type safety and
preventing accidental conflicts with lifecycle event names (initialized,
attached, disposed, destroyed).

Implements #8

11 of 11 branches covered (100.0%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

50 of 50 relevant lines covered (100.0%)

59.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 coverage-report-22.x - 24305052624.1 12 Apr 2026 10:55AM UTC 4
100.0
GitHub Action Run
2 coverage-report-24.x - 24305052624.2 12 Apr 2026 10:56AM UTC 4
100.0
GitHub Action Run
Source Files on build 24305052624
  • Tree
  • List 2
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24305052624
  • 3e42995d on github
  • Prev Build on develop (#24302495179)
  • Next Build on develop (#24305349931)
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