2015-03-09 02:23:23 +01:00
tests/cases/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts(1,1): error TS1108: A 'return' statement can only be used within a function body.
2015-06-03 02:33:57 +02:00
tests/cases/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts(1,18): error TS2304: Cannot find name 'role'.
2015-03-09 02:23:23 +01:00
tests/cases/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts(2,18): error TS2304: Cannot find name 'Role'.
2015-05-06 19:13:32 +02:00
tests/cases/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts(4,26): error TS2503: Cannot find namespace 'ng'.
2015-03-09 02:23:23 +01:00
2015-06-03 02:33:57 +02:00
==== tests/cases/compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts (4 errors) ====
2015-03-09 02:23:23 +01:00
return this.edit(role)
~~~~~~
!!! error TS1108: A 'return' statement can only be used within a function body.
2015-06-03 02:33:57 +02:00
~~~~
!!! error TS2304: Cannot find name 'role'.
2015-03-09 02:23:23 +01:00
.then((role: Role) =>
~~~~
!!! error TS2304: Cannot find name 'Role'.
this.roleService.add(role)
.then((data: ng.IHttpPromiseCallbackArg<Role>) => data.data));
~~
2015-05-06 19:13:32 +02:00
!!! error TS2503: Cannot find namespace 'ng'.
2015-03-09 02:23:23 +01:00