actioncable-vue icon indicating copy to clipboard operation
actioncable-vue copied to clipboard

TypeScript definition for connected and disconnected seem wrong

Open liayn opened this issue 3 years ago • 0 comments

The type definitions for $cable.connected and $cable.disconnected are wrong in the sense those properties do not seem to actually exist. At least I couldn't find a word within the src folder.

https://github.com/mclintprojects/actioncable-vue/blob/ac1c863adcbad71ade12cd6521778c8cc4ccf804/types/vue.d.ts#L18

I guess those two can be removed and it would save some working hours searching why "connected" is never true.

liayn avatar Dec 13 '22 16:12 liayn