MCPcopy Create free account
hub / github.com/Effect-TS/effect / extend

Method extend

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

* Returns a function that creates a schema-backed subclass with this class's * fields plus additional fields. * * **When to use** * * Use when you need a subclass whose constructor validates both inherited * fields and newly added fields. * * **Details** * * The returne

(
    identifier: string
  )

Source from the content-addressed store, hash-verified

14034 * such as `isMaxProperties` count inherited fields too.
14035 */
14036 extend<Extended = never, Static = {}, Brand = {}>(
14037 identifier: string
14038 ): {
14039 <NewFields extends Struct.Fields>(

Callers 8

BClass · 0.65
E1Class · 0.65
E2Class · 0.65
Schema.tst.tsFile · 0.65
Array.test.tsFile · 0.65
BClass · 0.65
E2Class · 0.65
DogClass · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected