MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeFixedDeclarationReviver

Function makeFixedDeclarationReviver

packages/effect/src/Schema.ts:6657–6666  ·  view source on GitHub ↗
(
  id: string,
  schema: Top
)

Source from the content-addressed store, hash-verified

6655}
6656
6657function makeFixedDeclarationReviver(
6658 id: string,
6659 schema: Top
6660): SchemaRepresentation.DeclarationReviver<null> {
6661 return InternalSchema.makeDeclarationReviver(
6662 id,
6663 Null,
6664 ({ annotations }) => annotations === undefined ? schema : schema.annotate(annotations)
6665 )
6666}
6667
6668const TRIMMED_PATTERN = "^\\S[\\s\\S]*\\S$|^\\S$|^$"
6669

Callers 1

Schema.tsFile · 0.85

Calls 1

annotateMethod · 0.65

Tested by

no test coverage detected