diff --git a/package.json b/package.json index ff0b823..1c12030 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@thilawyn/traitify-ts", - "version": "0.1.22", + "version": "0.1.23", "type": "module", "publishConfig": { "registry": "https://git.jvalver.de/api/packages/thilawyn/npm/" diff --git a/src/effect/EffectSchemaTraitExpression.ts b/src/effect/EffectSchemaTraitExpression.ts index a3d29ca..2d284f8 100644 --- a/src/effect/EffectSchemaTraitExpression.ts +++ b/src/effect/EffectSchemaTraitExpression.ts @@ -33,7 +33,15 @@ implements TraitExpressionLike< extends(): ( AbstractConstructor< ApplyMutability, Mutability> & - Omit & + Omit< + Simplify< + Extend<[ + Inherited, + ...TraitTuple.MapImplInstance + ]> + >, + keyof Fields + > & Proto, ConstructorParameters> @@ -45,12 +53,7 @@ implements TraitExpressionLike< Fields, ApplyMutability, R, C, - Simplify< - Extend<[ - Inherited, - ...TraitTuple.MapImplInstance - ]> - >, + Inherited, Proto > > &