mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
36 lines
2.4 KiB
Diff
36 lines
2.4 KiB
Diff
--- old.multiLinePropertyAccessAndArrowFunctionIndent1.errors.txt
|
|
+++ new.multiLinePropertyAccessAndArrowFunctionIndent1.errors.txt
|
|
@@= skipped -0, +0 lines =@@
|
|
-error TS-1: Pre-emit (1) and post-emit (5) diagnostic counts do not match! This can indicate that a semantic _error_ was added by the emit resolver - such an error may not be reflected on the command line or in the editor, but may be captured in a baseline here!
|
|
multiLinePropertyAccessAndArrowFunctionIndent1.ts(1,1): error TS1108: A 'return' statement can only be used within a function body.
|
|
-
|
|
-
|
|
-!!! error TS-1: Pre-emit (1) and post-emit (5) diagnostic counts do not match! This can indicate that a semantic _error_ was added by the emit resolver - such an error may not be reflected on the command line or in the editor, but may be captured in a baseline here!
|
|
-!!! related TS-1: The excess diagnostics are:
|
|
-!!! related TS2304 multiLinePropertyAccessAndArrowFunctionIndent1.ts:1:18: Cannot find name 'role'.
|
|
-!!! related TS2304 multiLinePropertyAccessAndArrowFunctionIndent1.ts:2:18: Cannot find name 'Role'.
|
|
-!!! related TS2503 multiLinePropertyAccessAndArrowFunctionIndent1.ts:4:26: Cannot find namespace 'ng'.
|
|
-!!! related TS2304 multiLinePropertyAccessAndArrowFunctionIndent1.ts:4:53: Cannot find name 'Role'.
|
|
-==== multiLinePropertyAccessAndArrowFunctionIndent1.ts (1 errors) ====
|
|
+multiLinePropertyAccessAndArrowFunctionIndent1.ts(1,18): error TS2304: Cannot find name 'role'.
|
|
+multiLinePropertyAccessAndArrowFunctionIndent1.ts(2,18): error TS2304: Cannot find name 'Role'.
|
|
+multiLinePropertyAccessAndArrowFunctionIndent1.ts(4,26): error TS2503: Cannot find namespace 'ng'.
|
|
+multiLinePropertyAccessAndArrowFunctionIndent1.ts(4,53): error TS2304: Cannot find name 'Role'.
|
|
+
|
|
+
|
|
+==== multiLinePropertyAccessAndArrowFunctionIndent1.ts (5 errors) ====
|
|
return this.edit(role)
|
|
~~~~~~
|
|
!!! error TS1108: A 'return' statement can only be used within a function body.
|
|
+ ~~~~
|
|
+!!! error TS2304: Cannot find name 'role'.
|
|
.then((role: Role) =>
|
|
+ ~~~~
|
|
+!!! error TS2304: Cannot find name 'Role'.
|
|
this.roleService.add(role)
|
|
.then((data: ng.IHttpPromiseCallbackArg<Role>) => data.data));
|
|
+ ~~
|
|
+!!! error TS2503: Cannot find namespace 'ng'.
|
|
+ ~~~~
|
|
+!!! error TS2304: Cannot find name 'Role'.
|
|
|