From 7e474e2de973a9356127a1dc347678cf56d9e386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Wed, 7 Feb 2024 21:38:11 +0100 Subject: [PATCH] Trait fix --- src/Trait.ts | 4 ++-- src/tests.ts | 2 +- src/util/index.ts | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Trait.ts b/src/Trait.ts index eb8d353..c92ebd6 100644 --- a/src/Trait.ts +++ b/src/Trait.ts @@ -115,7 +115,7 @@ export namespace Trait { > & Pipe, + Tuples.Append, Tuples.Map, Tuples.Map, ExtendFn, @@ -129,7 +129,7 @@ export namespace Trait { export type Instance = ( Pipe, + Tuples.Append, Tuples.Map, ExtendFn, SimplifyFn, diff --git a/src/tests.ts b/src/tests.ts index dd89c0e..eebcd3c 100644 --- a/src/tests.ts +++ b/src/tests.ts @@ -53,7 +53,7 @@ const ActiveStatefulSubscription = expression Super => class ActiveStatefulSubscription extends Super {}, ) -// type T = Trait.Instance +type ActiveStatefulSubscriptionClass = Trait.Class class TestSuperclass { diff --git a/src/util/index.ts b/src/util/index.ts index 720a972..8407008 100644 --- a/src/util/index.ts +++ b/src/util/index.ts @@ -1,3 +1,7 @@ export * from "./extend" export * from "./inheritance" export * from "./misc" + +export namespace util { + +}