Skip to content

Instantly share code, notes, and snippets.

@dittos dittos/generic.ts
Last active Mar 27, 2019

What would you like to do?
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
You can’t perform that action at this time.