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

Function writeInvalidAmbientMessage

ark/schema/scope.ts:238–239  ·  view source on GitHub ↗
(actual: unknown)

Source from the content-addressed store, hash-verified

236export type SchemaAmbient = RootModule<any> | InternalResolutions
237
238export const writeInvalidAmbientMessage = (actual: unknown): string =>
239 `ambient must be a Module or a record of Types, Generics, or Modules (was ${printable(actual)})`
240
241export const writeInvalidAmbientEntryMessage = (
242 key: string,

Callers 1

validateAmbientConfigFunction · 0.85

Calls 1

printableFunction · 0.90

Tested by

no test coverage detected