Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: https://git.jvalver.de/Thilawyn/traitify-ts/pulls/8
This commit was merged in pull request #8.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { TraitClass } from "./Trait"
|
||||
import { trait } from "./TraitBuilder"
|
||||
import { Implements, ImplementsStatic, TraitExpressionClass } from "./TraitExpression"
|
||||
import { Implements, StaticImplements, TraitExpressionClass } from "./TraitExpression"
|
||||
import { expression } from "./TraitExpressionBuilder"
|
||||
|
||||
|
||||
@@ -69,10 +69,10 @@ const exp = expression
|
||||
.build()
|
||||
|
||||
type Abs = Implements<typeof exp>
|
||||
type AbsStatic = ImplementsStatic<typeof exp>
|
||||
type AbsStatic = StaticImplements<typeof exp>
|
||||
type ExpClass = TraitExpressionClass<typeof exp>
|
||||
|
||||
@exp.implementsStatic
|
||||
@exp.staticImplements
|
||||
class User extends exp.extends implements Implements<typeof exp> {
|
||||
readonly isStatefulSubscription: true = true
|
||||
readonly isActiveStatefulSubscription: true = true
|
||||
|
||||
Reference in New Issue
Block a user