Skip to content

Commit

Permalink
declare
Browse files Browse the repository at this point in the history
  • Loading branch information
donavanbecker committed Jun 8, 2024
1 parent c69c13f commit 073c0b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* index.ts: Switchbot BLE API registration.
*/
export * from './switchbot.js';
export { SwitchBotBLEDevice, SwitchBotModel, SwitchBotBLEModel, SwitchBotBLEModelName, SwitchBotBLEModelFriendlyName } from './types.js';
export * from './types.js';
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 073c0b9

Please sign in to comment.