function blueFeetMixin<T extends DuckConstructor>(Duck: T) {
  return class blueFeetDuck extends Duck {
    hasBlueFeet(): boolean {
      return true
    }
  }
}
view raw index.tsx hosted with ❤ by GitHub