This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Identity, Pipe, Tuples } from "hotscript"
|
||||
import { Implements, TraitAbstractMembers, expression, trait } from "."
|
||||
|
||||
|
||||
@@ -51,17 +52,14 @@ class TestSuperclass {
|
||||
const builder = expression
|
||||
.extends(TestSuperclass)
|
||||
.expresses(
|
||||
// PrintsHelloOnNew,
|
||||
PrintsHelloOnNew,
|
||||
Identifiable<bigint>(),
|
||||
// Identifiable<number>(),
|
||||
)
|
||||
|
||||
type Impl = Implements<typeof builder.expression>
|
||||
|
||||
|
||||
const exp = builder.get()
|
||||
|
||||
class User extends exp.extends() implements (typeof exp.implements) {
|
||||
class User extends exp.extends implements (typeof exp.implements) {
|
||||
// id: bigint = -1n
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user