mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add missed update of thisInObjectLiterals baseline
This commit is contained in:
1 parent
4012587808
commit
32978247bd
2 files changed
+3
-3
No files matched your search
@@ -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