Fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julien Valverdé
2024-02-02 20:14:44 +01:00
parent 7a449c73cc
commit 58de52ffc0
2 changed files with 2 additions and 16 deletions

View File

@@ -13,16 +13,6 @@ class TraitExpression<
readonly traits: Traits,
) {}
get implements(): (
Pipe<Traits, [
Tuples.Map<TraitAbstractMembersFn>,
ExtendFn,
SimplifyFn,
]>
) {
throw new Error("Not meant to be called")
}
get extends(): (
AbstractClass<
Pipe<[

View File

@@ -1,4 +1,3 @@
import { Identity, Pipe, Tuples } from "hotscript"
import { Implements, TraitAbstractMembers, expression, trait } from "."
@@ -40,9 +39,6 @@ const ActiveStatefulSubscription = trait<ActiveStatefulSubscriptionAbstractMembe
)
// type Test2 = Simplify<MergeInheritanceTree<Test1>>
class TestSuperclass {
// id: number = 69
// static test = 69
@@ -59,8 +55,8 @@ const builder = expression
const exp = builder.get()
class User extends exp.extends implements (typeof exp.implements) {
// id: bigint = -1n
class User extends exp.extends implements Implements<typeof exp> {
id: bigint = -1n
}
console.log(new User())