🥶
run!
Pinned Loading
-
Implement Mixin pattern in Typescript
Implement Mixin pattern in Typescript 1// eslint-disable-next-line @typescript-eslint/no-explicit-any
2type Constructor<T = object> = new (...args: any[]) => T
34const S1 = <T extends Constructor>(Sup: T) =>
5class extends Sup {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.