Skip to content

Declaration context

const DeclarationContext: ComponentContext<OutputSymbol>

Accessor

const myContext = useContext(DeclarationContext);

Context interface

binderBinder context interface

The binder instance that created this symbol.

flagsOutputSymbolFlags

The symbol’s flags.

instanceMemberScopeoptionalScope context interface

The instance members available on this symbol.

metadataRecord<string, unknown>

Additional custom metadata about this symbol.

namestring

The name of the symbol.

originalNamestring

The original name of the symbol, before any conflicts were resolved.

refkeysRefkey[]

The unique values that reference this symbol.

scopeScope context interface

The scope in which the symbol is defined.

staticMemberScopeoptionalScope context interface

The static members available on this symbol.