MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / widget

Function widget

__tests__/ts-array-annotated-receivers.test.ts:246–248  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

244 it('reads the property off the indexed type the call\'s file imports, and a class its file declares', async () => {
245 // Two `Widget`s, each declaring its own `CodeEditor` beside it.
246 const widget = (n: number) =>
247 `export class CodeEditor {\n executeEdits() { return ${n}; }\n}\n` +
248 'export interface Widget {\n readonly inputEditor: CodeEditor;\n}\n';
249 const calls = await callsOf({
250 ...CLASSES,
251 'src/a/widget.ts': widget(1),

Calls

no outgoing calls

Tested by

no test coverage detected