0.1.16 #16

Merged
Thilawyn merged 3 commits from next into master 2024-03-23 00:51:27 +01:00
Showing only changes of commit 4272b71d4a - Show all commits

View File

@@ -28,6 +28,15 @@ const Identifiable = <ID>() => trait
}) })
.build() .build()
const ImplementsIdentifiable = <ID>(defaultID: ID) => expression
.expresses(Identifiable<ID>())
.build()
.subtrait()
.implement(Super => class ImplementsIdentifiable extends Super {
readonly id = defaultID
})
.build()
const StatefulSubscription = trait const StatefulSubscription = trait
.abstract(Super => class extends Super { .abstract(Super => class extends Super {
declare readonly isStatefulSubscription: true declare readonly isStatefulSubscription: true