Files
tsgo/testdata/baselines/reference/submodule/conformance/inferringClassMembersFromAssignments2.errors.txt.diff

17 lines
527 B
Diff

--- old.inferringClassMembersFromAssignments2.errors.txt
+++ new.inferringClassMembersFromAssignments2.errors.txt
@@= skipped -0, +0 lines =@@
-<no content>
+a.js(5,5): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
+
+
+==== a.js (1 errors) ====
+ OOOrder.prototype.m = function () {
+ this.p = 1
+ }
+ function OOOrder() {
+ this.x = 1
+ ~~~~
+!!! error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
+ }
+