Hyperlinkv0.8.0-beta.28

SchemaRepresentation

SchemaRepresentation.$TemplateLiteralconsteffect/SchemaRepresentation.ts:1272
Schema.Struct<{
  readonly _tag: Schema.tag<"TemplateLiteral">
  readonly annotations: Schema.optional<
    Schema.decodeTo<
      Schema.$Record<Schema.String, Schema.Unknown>,
      Schema.$Record<
        Schema.String,
        Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>
      >,
      never,
      never
    >
  >
  readonly parts: Schema.$Array<Schema.suspend<$Representation>>
}>

Schema for the TemplateLiteral representation node.

export const $TemplateLiteral = Schema.Struct({
  _tag: Schema.tag("TemplateLiteral"),
  annotations: Schema.optional($Annotations),
  parts: Schema.Array(Representation$ref)
}).annotate({ identifier: "TemplateLiteral" })
Referenced by 1 symbols