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

Class RecordClass

packages/effect/src/Schema.ts:3043–3053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3041 ast?: AST.AST
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
3052 static value = value
3053 }
3054}
3055
3056/**

Callers

nothing calls this directly

Calls 1

makeTypeLiteralClassFunction · 0.85

Tested by

no test coverage detected