**What happened**: `subflowstateBuilder.build()` doesn't assign a default `type` to the returned subflowstate. **What you expected to happen**: The returned subflowstate should have the type `subflow` is none is supplied **How to reproduce it**: ```typescript const sf= subflowstateBuilder().build(); console.log(sf.type); ``` **Anything else we need to know?**: Will be fixed in an upcoming PR