Skip to content

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