Last active
March 27, 2019 13:08
-
-
Save dittos/540b57d0a3b71650dd039482dff81670 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
interface X<T> { | |
// m(o: T): void; // is ok | |
(o: T): void; | |
} | |
class A { | |
f: X<this>; | |
} | |
class B extends A { | |
g: X<this>; | |
} | |
const s: A = new B(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment