EnumDeclaration
A TypeScript enum declaration.
import { EnumDeclaration } from "@alloy-js/typescript";
<EnumDeclaration jsValue={Record<string, string | number>} />
import { EnumDeclaration } from "@alloy-js/typescript/stc";
EnumDeclaration({ jsValue: Record<string, string | number>,}).children(children)
jsValue | optionalRecord<string, string | number> A JS object representing the enum member names and values. |