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

palcarazm / component-lifecycle / 24305052624 / 2
100%
develop: 100%

Build:
DEFAULT BRANCH: develop
Ran 12 Apr 2026 10:56AM UTC
Files 4
Run time 0s
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.2

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

100 of 100 relevant lines covered (100.0%)

14.92 hits per line

Source Files on job coverage-report-24.x - 24305052624.2
  • Tree
  • List 4
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24305052624
  • 3e42995d on github
  • Prev Job for on develop (#24302495179.1)
  • Next Job for on develop (#24305349931.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

© 2026 Coveralls, Inc