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

Function writeInvalidPropertyKeyMessage

ark/schema/structure/index.ts:171–174  ·  view source on GitHub ↗
(
	indexSchema: indexSchema
)

Source from the content-addressed store, hash-verified

169 `Index keys ${keys.join(", ")} should be specified as named props.`
170
171export const writeInvalidPropertyKeyMessage = <indexSchema extends string>(
172 indexSchema: indexSchema
173): writeInvalidPropertyKeyMessage<indexSchema> =>
174 `Indexed key definition '${indexSchema}' must be a string or symbol`
175
176export type writeInvalidPropertyKeyMessage<indexSchema extends string> =
177 `Indexed key definition '${indexSchema}' must be a string or symbol`

Callers 3

normalizeIndexFunction · 0.90
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected