mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Add missed update of thisInObjectLiterals baseline
This commit is contained in:
@@ -15,7 +15,7 @@ tests/cases/conformance/expressions/thisKeyword/thisInObjectLiterals.ts(14,21):
|
||||
}
|
||||
}
|
||||
|
||||
//type of 'this' in an object literal property of a function type is Any
|
||||
//type of 'this' in an object literal method is the type of the object literal
|
||||
var obj = {
|
||||
f() {
|
||||
return this.spaaace;
|
||||
|
||||
@@ -9,7 +9,7 @@ class MyClass {
|
||||
}
|
||||
}
|
||||
|
||||
//type of 'this' in an object literal property of a function type is Any
|
||||
//type of 'this' in an object literal method is the type of the object literal
|
||||
var obj = {
|
||||
f() {
|
||||
return this.spaaace;
|
||||
@@ -29,7 +29,7 @@ var MyClass = (function () {
|
||||
};
|
||||
return MyClass;
|
||||
}());
|
||||
//type of 'this' in an object literal property of a function type is Any
|
||||
//type of 'this' in an object literal method is the type of the object literal
|
||||
var obj = {
|
||||
f: function () {
|
||||
return this.spaaace;
|
||||
|
||||
Reference in New Issue
Block a user