onebeyond / systemic

📦 A minimal dependency injection framework.
https://onebeyond.github.io/systemic
MIT License
56 stars 7 forks source link

feat: callback component typedefinition #60

Closed teunmooij closed 2 years ago

teunmooij commented 2 years ago

Systemic does not only support components with async start/stop, but also components with callbacks. For example systemic-express currently contains a typescript definition that wrongfully claims that is has an async component.

This PR is intended to enable better typing for callback components.

@cressie176 , sorry to bother again.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information