MemberDeclaration context
Provides the symbol for the member currently being declared.
const MemberDeclarationContext: ComponentContext<OutputSymbol>
Accessor
Section titled “Accessor”import { useMemberDeclaration } from "@alloy-js/core";
const myContext = useMemberDeclaration();
Context interface
Section titled “Context interface”See also
Section titled “See also”- Declaration context for getting the symbol for the current non-member declaration.