MCPcopy
hub / github.com/pingdotgg/t3code / remove

Method remove

apps/web/src/contextMenuFallback.test.ts:41–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 }
40
41 remove() {
42 if (!this.parent) {
43 return;
44 }
45 const index = this.parent.children.indexOf(this);
46 if (index >= 0) {
47 this.parent.children.splice(index, 1);
48 }
49 this.parent = null;
50 }
51
52 addEventListener(type: string, listener: FakeListener) {
53 const existing = this.listeners.get(type) ?? [];

Callers 15

generate.tsFile · 0.80
registry.test.tsFile · 0.80
registry.tsFile · 0.80
service.tsFile · 0.80
relayClient.tsFile · 0.80
removeSelectedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected