-
-
Save kaugustanec/c3c165b6eec5110b4741c148f0ec4dea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function blueFeetMixin<T extends DuckConstructor>(Duck: T) { | |
return class blueFeetDuck extends Duck { | |
hasBlueFeet(): boolean { | |
return true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment