MCPcopy Index your code
hub / github.com/reactjs/react-docgen / get

Method get

packages/react-docgen/src/Documentation.ts:171–173  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

169
170 get<T>(key: string): T | null;
171 get(key: string): unknown {
172 return this.#data.get(key);
173 }
174
175 getPropDescriptor(propName: string): PropDescriptor {
176 let propDescriptor = this.#props.get(propName);

Callers 15

constructorMethod · 0.80
getPropDescriptorMethod · 0.80
getContextDescriptorMethod · 0.80
constructorMethod · 0.80
handleTSQualifiedNameFunction · 0.80
handleTSLiteralTypeFunction · 0.80
handleTSArrayTypeFunction · 0.80
handleTSTypeReferenceFunction · 0.80
handleTSTypeLiteralFunction · 0.80
handleTSUnionTypeFunction · 0.80
handleTSIntersectionTypeFunction · 0.80

Calls

no outgoing calls

Tested by 6

getDescriptorsFunction · 0.64
testReturnValuesFunction · 0.64
typeAliasFunction · 0.64
pathFromSourceFunction · 0.64
testReactTypeFunction · 0.64
testImportsFunction · 0.64