Skip to main content

Type Alias: HelperOptions<T>

HelperOptions<T> = Omit<T, "props"> & T extends object ? NonNullable<TProps> : unknown

Defined in: packages/core/src/passages/definition.ts:55

Flattens a component or hotspot type into the single options bag its helper accepts: everything nested under props is hoisted to the top level.

Type Parameters

T

T

Remarks

Derived from the source type, so helper options can never drift from the object shape they build.