mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Update test
This commit is contained in:
parent
c2d8a593b9
commit
ec292c92e2
@ -21,7 +21,6 @@ tests/cases/conformance/types/thisType/thisTypeInAccessorsNegative.ts(11,9): err
|
||||
}
|
||||
const contextual: Foo = {
|
||||
n: 16,
|
||||
// there is no contextual this type from an Foo.x.
|
||||
get x() { return this.n; }
|
||||
}
|
||||
|
||||
@ -13,7 +13,6 @@ const mismatch = {
|
||||
}
|
||||
const contextual: Foo = {
|
||||
n: 16,
|
||||
// there is no contextual this type from an Foo.x.
|
||||
get x() { return this.n; }
|
||||
}
|
||||
|
||||
@ -26,6 +25,5 @@ var mismatch = {
|
||||
};
|
||||
var contextual = {
|
||||
n: 16,
|
||||
// there is no contextual this type from an Foo.x.
|
||||
get x() { return this.n; }
|
||||
};
|
||||
|
||||
@ -15,6 +15,5 @@ const mismatch = {
|
||||
}
|
||||
const contextual: Foo = {
|
||||
n: 16,
|
||||
// there is no contextual this type from an Foo.x.
|
||||
get x() { return this.n; }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user