From ecbf936f8507cbc5d9d3a1804f4fd032689c7c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Mon, 29 Jan 2024 01:42:14 +0100 Subject: [PATCH] Tests --- src/tests.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tests.ts b/src/tests.ts index 0cc019f..8533832 100644 --- a/src/tests.ts +++ b/src/tests.ts @@ -1,5 +1,5 @@ import { Simplify } from "type-fest" -import { TraitAbstractMembers, TraitImpl, TraitInstance, expresses, trait } from "." +import { TraitAbstractMembers, TraitClass, TraitImpl, TraitInstance, expresses, trait } from "." const PrintsHelloOnNew = trait()(Super => @@ -22,7 +22,9 @@ const Identifiable = () => ( ) -type Test = Simplify>>> +type Test = Simplify>>> + +const appliedIdentifiable = Identifiable().apply({} as any) const exp = expresses(Identifiable())