MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / msg

Function msg

packages/shared/src/utils.ts:18–20  ·  view source on GitHub ↗
(kind: K, data: T[K])

Source from the content-addressed store, hash-verified

16}
17
18export function msg<T, K extends keyof T>(kind: K, data: T[K]): UnionMember<T, K> {
19 return {kind, data}
20}
21
22export const ANSI_RESET = '\x1b[0m'
23export const ANSI_BOLD = '\x1b[1m'

Callers 15

createInspectorFunction · 0.90
inspectOwnerIdFunction · 0.90
createDebuggerFunction · 0.90
pushNodeUpdateFunction · 0.90
onStructureUpdateFunction · 0.90
onComponentClickFunction · 0.90
createLocatorFunction · 0.90
inspectDGraphFunction · 0.90
createAppCtxFunction · 0.90
createStructureFunction · 0.90
createInspectorFunction · 0.90
inspectValueItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected