Skip to content

Instantly share code, notes, and snippets.

Avatar

Patrick Geyer PatrickGeyer

View GitHub Profile
View crud-mixins.ts
export type Constructor<A> = new (...input: any[]) => A;
class BaseEntity {
id: number;
}
class Account extends BaseEntity {
name = "Jon"
}
You can’t perform that action at this time.