diff --git a/src/index.ts b/src/index.ts index c4292ea..fbbb22c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,4 +3,4 @@ * index.ts: Switchbot BLE API registration. */ export * from './switchbot.js'; -export { SwitchBotBLEDevice, SwitchBotModel, SwitchBotBLEModel, SwitchBotBLEModelName, SwitchBotBLEModelFriendlyName } from './types.js'; \ No newline at end of file +export * from './types.js'; \ No newline at end of file diff --git a/src/types.ts b/src/types.ts index afc4956..9948e08 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,7 +2,7 @@ * * util.ts: @switchbot/homebridge-switchbot platform class. */ -export type SwitchBotBLEDevice = { +export declare type SwitchBotBLEDevice = { Bot: { Model: SwitchBotModel.Bot, BLEModel: SwitchBotBLEModel.Bot,