MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getComponent

Method getComponent

src/renderers/client/transforms.tsx:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 ) {}
14 // eslint-disable-next-line @typescript-eslint/no-explicit-any
15 public getComponent(): Promise<any> {
16 if (!this.cachedPromise) {
17 this.cachedPromise = this.importer();
18 }
19 return this.cachedPromise;
20 }
21}
22
23// Hardcode mimeType here so we can do a quick lookup without loading all of the

Callers 2

getTransformFunction · 0.80
forceLoadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected