Tweak the compose helper to use return type of the last mixin
This is ideally not a breaking change. But, right now I cannot account of any weird behavior this change may introduce. So safely bumping the major number.
Commits
- improvement: make 'compose' helper infer types from the old mixin return value 8007301
Full Changelog: v4.0.4...v5.0.0