0.1.4 #4

Merged
Thilawyn merged 68 commits from next into master 2024-02-20 01:39:38 +01:00
Showing only changes of commit 7191b35c7a - Show all commits

View File

@@ -1,5 +1,5 @@
import { Trait, trait } from "./Trait"
import { Implements, ImplementsStatic, StaticImplements } from "./TraitExpression"
import { Implements, ImplementsStatic } from "./TraitExpression"
import { expression } from "./TraitExpressionBuilder"
import { abstract } from "./abstract"
@@ -56,7 +56,7 @@ const ActiveStatefulSubscription = expression
return abstract<IActiveStatefulSubscription>()
},
exp => abstract<StaticImplements<typeof exp>>(),
exp => abstract<ImplementsStatic<typeof exp>>(),
Super => class ActiveStatefulSubscription extends Super {},
)
@@ -91,11 +91,3 @@ class User extends exp.extends implements Implements<typeof exp> {
}
console.log(new User())
declare function StaticImplements(target: { issou: string }, context: any): void
@StaticImplements
class Gneugneu {
// static issou: string = "juif"
}