Documentation
    Preparing search index...

    Type Alias UIControlConstructor

    UIControlConstructor: new (options?: never) => UIWidget

    A widget constructor stored under a name.

    Options are control-specific; the registry stores the constructor, not a uniform call shape. options?: never is the construct signature a shipped control satisfies (every control's options argument is optional), so register("Button", Button) type-checks without a cast. A host that looks one up constructs it with the options that control documents.