0.1.16 #16
@@ -28,6 +28,15 @@ const Identifiable = <ID>() => trait
|
||||
})
|
||||
.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
|
||||
.abstract(Super => class extends Super {
|
||||
declare readonly isStatefulSubscription: true
|
||||
|
||||
Reference in New Issue
Block a user