MCPcopy Create free account
hub / github.com/coder/guts / typeQuery

Function typeQuery

typescript-engine/src/index.ts:409–411  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

407// typeQuery builds `typeof name`, used as a TypeNode (e.g. as a generic
408// argument such as `z.infer<typeof FooSchema>`).
409export function typeQuery(name: string): ts.TypeQueryNode {
410 return ts.factory.createTypeQueryNode(identifier(name));
411}
412
413module.exports = {
414 modifier: modifier,

Callers

nothing calls this directly

Calls 1

identifierFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…