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

Function writeInvalidSpreadTypeMessage

ark/type/parser/objectLiteral.ts:480–483  ·  view source on GitHub ↗
(
	def: def
)

Source from the content-addressed store, hash-verified

478 }>
479
480export const writeInvalidSpreadTypeMessage = <def extends string>(
481 def: def
482): writeInvalidSpreadTypeMessage<def> =>
483 `Spread operand must resolve to an object literal type (was ${def})`
484
485export type writeInvalidSpreadTypeMessage<def extends string> =
486 `Spread operand must resolve to an object literal type (was ${def})`

Callers 2

spread.test.tsFile · 0.90
parseObjectLiteralFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected