MCPcopy Create free account
hub / github.com/TanStack/query / warn

Function warn

packages/query-codemods/src/utils/index.cjs:150–154  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

148 }
149
150 const warn = (message) => {
151 if (process.env.NODE_ENV !== 'test') {
152 console.warn(message)
153 }
154 }
155
156 const isClassInstantiationOf = (node, selector) => {
157 if (!isNewExpression(node)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected