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

Function TemplateLiteralParser

packages/effect/src/Schema.ts:2981–2985  ·  view source on GitHub ↗
(
  parts: Parts
)

Source from the content-addressed store, hash-verified

2979 * @since 3.10.0
2980 */
2981export function TemplateLiteralParser<const Parts extends TemplateLiteral.Parts>(
2982 parts: Parts
2983): TemplateLiteralParser<Parts> {
2984 return make(templateLiteralFromParts(parts).asTemplateLiteralParser(), { parts })
2985}
2986
2987/**
2988 * Type-level representation returned by {@link Enum}.

Callers

nothing calls this directly

Calls 3

templateLiteralFromPartsFunction · 0.85
makeFunction · 0.70

Tested by

no test coverage detected