mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
527 B
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.
|
|
+ }
|
|
+
|