MCPcopy Create free account
hub / github.com/arktypeio/arktype / writeInvalidUndeclaredBehaviorMessage

Function writeInvalidUndeclaredBehaviorMessage

ark/type/parser/objectLiteral.ts:350–353  ·  view source on GitHub ↗
(
	actual: unknown
)

Source from the content-addressed store, hash-verified

348 : never
349
350export const writeInvalidUndeclaredBehaviorMessage = (
351 actual: unknown
352): string =>
353 `Value of '+' key must be 'reject', 'delete', or 'ignore' (was ${printable(actual)})`
354
355export const writeOptionalIndexKeyMessage = <key extends IndexKey>(
356 key: key

Callers 2

parseObjectLiteralFunction · 0.85

Calls 1

printableFunction · 0.90

Tested by

no test coverage detected