chancezeus / angular-laravel-echo

A Angular service for working with laravel-echo
MIT License
19 stars 21 forks source link

namespace error angular 9 #15

Open linlak opened 4 years ago

linlak commented 4 years ago

ERROR in node_modules/angular-laravel-echo/src/services/lib.service.d.ts:24:14 - error TS2702: 'Echo' only refers to a type, but is being used as a namespace here.

24 options: Echo.Config;

node_modules/angular-laravel-echo/src/services/lib.service.d.ts:30:14 - error TS2702: 'Echo' only refers to a type, but is being used as a namespace here.

30     options: Echo.NullConfig;

node_modules/angular-laravel-echo/src/services/lib.service.d.ts:36:14 - error TS2702: 'Echo' only refers to a type, but is being used as a namespace here.

36 options: Echo.PusherConfig;

node_modules/angular-laravel-echo/src/services/lib.service.d.ts:42:14 - error TS2702: 'Echo' only refers to a type, but is being used as a namespace here.

42     options: Echo.SocketIoConfig;

node_modules/angular-laravel-echo/src/services/lib.service.d.ts:240:20 - error TS2702: 'Echo' only refers to a type, but is being used as a namespace here.

240 readonly echo: Echo.EchoStatic;

paakwami commented 4 years ago

still hoping this could be fixed...

victorlenz commented 4 years ago

Same here!

victorlenz commented 4 years ago

you can try this package https://www.npmjs.com/package/ngx-laravel-echo