Created
October 4, 2018 10:05
-
-
Save S2/31825c6ce15c1b4656748e409675858c 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
class AAA{ | |
constructor(){ | |
console.log("aaa") | |
} | |
} | |
class BBB{ | |
constructor(){ | |
console.log("bbb") | |
} | |
} | |
class Hoge<A , B>{ | |
constructor(public a : A , public b : B){ | |
} | |
} | |
class Fuga<B> extends Hoge<AAA , B>{ | |
} | |
new Fuga<BBB>(new AAA() , new BBB()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment