Address more comments and remove temp test.
I added the temp test by mistake.
This commit is contained in:
parent
41bb446865
commit
a014edf55a
|
@ -1,9 +0,0 @@
|
||||||
//@strictThis: true
|
|
||||||
interface A { a: number; m(this: this): number }
|
|
||||||
interface B { b: number, m(this: this): number }
|
|
||||||
interface C { c: number; m(): number }
|
|
||||||
let a: A;
|
|
||||||
let ab: A | B;
|
|
||||||
let abc: A | B | C;
|
|
||||||
// ab.m().length;
|
|
||||||
abc.m().length; // should be OK? this: any, right?
|
|
Loading…
Reference in a new issue