MutableClass work

This commit is contained in:
Julien Valverdé
2024-06-10 21:03:23 +02:00
parent 0b2c56be64
commit cc33865e1a
4 changed files with 13 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ import { Schema as S } from "@effect/schema"
import type { Annotations, Class, Struct } from "@effect/schema/Schema"
import type { Mutable } from "effect/Types"
import type { Constructor } from "type-fest"
import type { Static } from "../.."
import type { StaticType } from "../.."
import type { HasFields, MissingSelfGeneric } from "./util"
@@ -24,7 +24,7 @@ export type TMutableClass<
> &
Omit<
Static<Class<Self, Fields, I, R, C, Inherited, Proto>>,
StaticType<Class<Self, Fields, I, R, C, Inherited, Proto>>,
"extend"
> & {
extend<Extended = never>(identifier: string): <newFields extends Struct.Fields>(