Skip to content

MemberDeclaration context

Provides the symbol for the member currently being declared.

const MemberDeclarationContext: ComponentContext<OutputSymbol>
import { useMemberDeclaration } from "@alloy-js/core";
const myContext = useMemberDeclaration();