Declaration context
const DeclarationContext: ComponentContext<OutputSymbol>
Accessor
const myContext = useContext(DeclarationContext);
Context interface
binder | Binder context interface The binder instance that created this symbol. |
flags | OutputSymbolFlags The symbol’s flags. |
instanceMemberScope | optionalScope context interface The instance members available on this symbol. |
metadata | Record<string, unknown> Additional custom metadata about this symbol. |
name | string The name of the symbol. |
originalName | string The original name of the symbol, before any conflicts were resolved. |
refkeys | Refkey[] The unique values that reference this symbol. |
scope | Scope context interface The scope in which the symbol is defined. |
staticMemberScope | optionalScope context interface The static members available on this symbol. |