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

Class PropertySignatureWithFromImpl

packages/effect/src/Schema.ts:1937–1958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1935 new PropertySignatureImpl<TypeToken, Type, Key, EncodedToken, Encoded, HasDefault, R>(ast)
1936
1937class PropertySignatureWithFromImpl<
1938 From extends Schema.All,
1939 TypeToken extends PropertySignature.Token,
1940 Type,
1941 Key extends PropertyKey,
1942 EncodedToken extends PropertySignature.Token,
1943 Encoded,
1944 HasDefault extends boolean = false,
1945 R = never
1946> extends PropertySignatureImpl<TypeToken, Type, Key, EncodedToken, Encoded, HasDefault, R> {
1947 constructor(ast: PropertySignature.AST, readonly from: From) {
1948 super(ast)
1949 }
1950 annotations(
1951 annotations: PropertySignature.Annotations<Type>
1952 ): PropertySignatureWithFromImpl<From, TypeToken, Type, Key, EncodedToken, Encoded, HasDefault, R> {
1953 return new PropertySignatureWithFromImpl(
1954 mergeSignatureAnnotations(this.ast, toASTAnnotations(annotations)),
1955 this.from
1956 )
1957 }
1958}
1959
1960/**
1961 * @category API interface

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected