MCPcopy Create free account
hub / github.com/TanStack/devtools / getPropsName

Function getPropsName

packages/devtools-vite/src/inject-source.ts:19–36  ·  view source on GitHub ↗

* Extract the props name from a function's first parameter. * Handles: `(props) => {}`, `({ ...props }) => {}`, `function(props) {}`

(params: Array<ParamPattern>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

processFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected