ClassField
import { ClassField } from "@alloy-js/typescript";
<ClassField doc={Children} jsPrivate name={string | Namekey} nullish optional private protected public refkey={Refkey} static type={Children}> {children}</ClassField>import { ClassField } from "@alloy-js/typescript/stc";
ClassField({ doc: Children, jsPrivate: boolean, name: string | Namekey, nullish: boolean, optional: boolean, private: boolean, protected: boolean, public: boolean, refkey: Refkey, static: boolean, type: Children,}).children(children)| children | optionalChildren |
| children | optionalChildren |
| doc | optionalChildren |
| jsPrivate | optionalboolean |
| name | string | Namekey |
| nullish | optionalboolean |
| optional | optionalboolean |
| private | optionalboolean |
| protected | optionalboolean |
| public | optionalboolean |
| refkey | optionalRefkey |
| static | optionalboolean |
| type | optionalChildren |