home-assistant / home-assistant-js-websocket

:aerial_tramway: JavaScript websocket client for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eventType in subscribeEvents should be optional

balloob opened this issue · comments

The type of eventType should be string?

async subscribeEvents<EventType>(
eventCallback: (ev: EventType) => void,
eventType: string
) {