From c9a7b660dbbc60ee3f0d94abd8b3e1920e0e864e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Sun, 12 May 2024 03:50:51 +0200 Subject: [PATCH 1/2] Effect schema inheritance fix --- src/effect/EffectSchemaTraitExpression.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) 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 > > & -- 2.49.1 From 8ca467f084e22501c1f6ed7607d3077fceb2f196 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Sun, 12 May 2024 03:56:46 +0200 Subject: [PATCH 2/2] Version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/" -- 2.49.1