mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
Update test
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user