Declaration
Declare a symbol in the program. Declaring classes, interfaces, enums, etc. Should also pass in access modifier so we can manage access
import { Declaration } from "@alloy-js/java";
<Declaration name="string" refkey={Refkey}> {children}</Declaration>
import { Declaration } from "@alloy-js/java/stc";
Declaration({ name: string, refkey: Refkey }).children(children)
Props
children | optionalChildren |
name | string |
refkey | optionalRefkey |