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

Function writeMissingImportMessage

ark/schema/scope.ts:192–199  ·  view source on GitHub ↗
(
	option: option,
	value: value
)

Source from the content-addressed store, hash-verified

190export type InstalledOption = "errors" | "mutatesInput"
191
192export const writeMissingImportMessage = <
193 option extends InstalledOption,
194 value extends string
195>(
196 option: option,
197 value: value
198): writeMissingImportMessage<option, value> =>
199 `${option}: ${value} requires import "arktype/${option}"`
200
201export type writeMissingImportMessage<
202 option extends InstalledOption,

Callers 5

config.test.tsFile · 0.90
scope.test.tsFile · 0.90
cfgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected