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