MCPcopy Index your code
hub / github.com/Effect-TS/effect / annotations

Method annotations

packages/effect/src/Schema.ts:2877–2881  ·  view source on GitHub ↗
(
      annotations: Annotations.Schema<Simplify<TypeLiteral.Type<Fields, Records>>>
    )

Source from the content-addressed store, hash-verified

2875 | IndexSignature.Context<Records>
2876 >(ast) {
2877 static override annotations(
2878 annotations: Annotations.Schema<Simplify<TypeLiteral.Type<Fields, Records>>>
2879 ): TypeLiteral<Fields, Records> {
2880 return makeTypeLiteralClass(this.fields, this.records, mergeSchemaAnnotations(this.ast, annotations))
2881 }
2882
2883 static fields = { ...fields }
2884

Callers

nothing calls this directly

Calls 2

makeTypeLiteralClassFunction · 0.85
mergeSchemaAnnotationsFunction · 0.85

Tested by

no test coverage detected