Working exp.extends()

This commit is contained in:
Julien Valverdé
2024-01-31 06:44:18 +01:00
parent 11335f10cd
commit a0aa9446d6
5 changed files with 35 additions and 12 deletions

View File

@@ -48,6 +48,8 @@ const exp = expresses(
)
type Impl = Implements<typeof exp>
class User implements Implements<typeof exp> {
class User extends exp.extends() implements Implements<typeof exp> {
id: bigint = -1n
}
new User().id