niklas-wortmann / xstate-angular

POC Xstate Angular Implementation
13 stars 2 forks source link

fix: do not require to always provide in root #10

Closed matheo closed 1 month ago

matheo commented 1 month ago

This typing was forcing the { provideIn: 'root', ..} always but we could just leave it empty to provide it in a Component or Route.