Inheritance — ASL
Inheritance
Section titled “Inheritance”A type can extend one or more other types. All properties, links, indexes, and computed fields are inherited.
type User extends Timestamped { required email: str;}
type Admin extends User, Audited { required level: int32;}Deprecation Notice: The
extendingkeyword is deprecated in favor ofextends. Runningaxel fmtwill automatically migrateextendingtoextends.
Inheriting from an abstract type is the common way to
share a common id / created_at / updated_at base across many concrete
types.