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

Method annotations

packages/effect/src/Schema.ts:3044–3048  ·  view source on GitHub ↗
(
      annotations: Annotations.Schema<{ readonly [P in Schema.Type<K>]: Schema.Type<V> }>
    )

Source from the content-addressed store, hash-verified

3042): Record$<K, V> {
3043 return class RecordClass extends makeTypeLiteralClass({}, [{ key, value }], ast) {
3044 static override annotations(
3045 annotations: Annotations.Schema<{ readonly [P in Schema.Type<K>]: Schema.Type<V> }>
3046 ): Record$<K, V> {
3047 return makeRecordClass(key, value, mergeSchemaAnnotations(this.ast, annotations))
3048 }
3049
3050 static key = key
3051

Callers

nothing calls this directly

Calls 2

makeRecordClassFunction · 0.85
mergeSchemaAnnotationsFunction · 0.85

Tested by

no test coverage detected