fjs21/homebridge-blueair

Can't publish 1.1.0

Closed this issue · 0 comments

fjs21 commented

Hi @jonato1,

I'm getting the following error on publish. Looks like the object type is not allowed.

Please could you generate a PR into the master branch to fix this?

Cheers

/home/pi/dev/homebridge-blueair/src/blueair-aws-api.ts
   29:20  error    Don't use `object` as a type. The `object` type is currently hard to use ([see this issue](https://github.com/microsoft/TypeScript/issues/21732)).
Consider using `Record<string, unknown>` instead, as it allows you to more easily inspect and use the keys  @typescript-eslint/ban-types