Skip to content

Instantly share code, notes, and snippets.

@captain-yossarian
Last active July 14, 2021 17:02
Show Gist options
  • Select an option

  • Save captain-yossarian/72e41b15b7d60cd4eeb4e1280eff17af to your computer and use it in GitHub Desktop.

Select an option

Save captain-yossarian/72e41b15b7d60cd4eeb4e1280eff17af to your computer and use it in GitHub Desktop.
function Mixin<T extends ClassType>(...classRefs: T[]) {
return merge(class { }, ...classRefs);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment