Skip to content

error on front #2

Description

@andrew2k

Nice project.

However I do have some issues launching "gulp play", in the front.

For example:
C:/Users/xxx/Downloads/angular2-spring-master/front/node_modules/@angular/common/src/directives/ng_class.d.ts(72,35): error TS2304: Cannot find name 'Set'.
C:/Users/xxx/Downloads/angular2-spring-master/front/node_modules/@angular/common/src/facade/async.d.ts(27,33): error TS2304: Cannot find name 'Promise'.

... and...

src\app\components\table\table.ts(134,61): error TS2339: Property 'find' does not exist on type 'PaginationPropertySort[]'.
src\app\index.ts(1,1): error TS6053: File 'C:/Users/a.franceschini/Downloads/angular2-spring-master/front/typings/tsd.d.ts' not found.
src\app\person.ts(21,12): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(18,31): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(32,109): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(33,13): error TS2322: Type 'Observable<any[]>' is not assignable to type 'Observable<PaginationPage>'.
Type 'any[]' is not assignable to type 'PaginationPage'.
src\app\personList.ts(33,53): error TS2304: Cannot find name 'Person'.
src\app\personList.ts(43,13): error TS2322: Type 'Observable' is not assignable to type 'Observable<PaginationPage>'.
Type 'void' is not assignable to type 'PaginationPage'.
src\app\personList.ts(45,20): error TS2339: Property 'switchMap' does not exist on type 'Observable<PaginationPage>'.
src\app\service\personService.ts(7,96): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(12,16): error TS2322: Type 'Observable<PaginationPage>' is not assignable to type 'Observable<any[]>'.
Type 'PaginationPage' is not assignable to type 'any[]'.
Property 'length' is missing in type 'PaginationPage'.
src\app\service\personService.ts(12,46): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(12,70): error TS2339: Property 'fromPromise' does not exist on type 'typeof Observable'.
src\app\service\personService.ts(13,13): error TS2304: Cannot find name '$'.
src\app\service\personService.ts(17,40): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(18,31): error TS2304: Cannot find name 'Person'.
src\app\service\personService.ts(18,54): error TS2339: Property 'fromPromise' does not exist on type 'typeof Observable'.
src\app\service\personService.ts(19,13): error TS2304: Cannot find name '$'.
src\app\service\personService.ts(24,17): error TS2314: Generic type 'Observable' requires 1 type argument(s).
src\app\service\personService.ts(24,46): error TS2339: Property 'fromPromise' does not exist on type 'typeof Observable'.
src\app\service\personService.ts(25,13): error TS2304: Cannot find name '$'.

Have you any clue on that ?
Thx a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions