MCPcopy
hub / github.com/arktypeio/arktype / writeBadDefinitionTypeMessage

Function writeBadDefinitionTypeMessage

ark/type/parser/definition.ts:218–221  ·  view source on GitHub ↗
(
	actual: actual
)

Source from the content-addressed store, hash-verified

216type BadDefinitionType = Exclude<Primitive, string>
217
218export const writeBadDefinitionTypeMessage = <actual extends string>(
219 actual: actual
220): writeBadDefinitionTypeMessage<actual> =>
221 `Type definitions must be strings or objects (was ${actual})`
222
223type writeBadDefinitionTypeMessage<actual extends string> =
224 `Type definitions must be strings or objects (was ${actual})`

Callers 4

thunk.test.tsFile · 0.90
parseInnerDefinitionFunction · 0.85
parseObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…