ParamObjects
module ParamObjects| Assembly | Xantham.Generator |
Functions and values
synthesizeParamObjects: Pass<ShapeModel>
synthesizeParamObjects: Pass<ShapeModel>Construction ergonomics (D3, §4.4): an interface gains a [<ParamObject; Emit("$0")>] Create overload mirroring its members, required members first, so consumers never hand-build objects. A method member reads as a delegate-typed parameter (§3 of the Fable 5 workarounds document): the delegate receives no this. A literal member, inherited ones included, is written by the Emit and binds no parameter.