Skip to content

Commit

Permalink
Specify default export
Browse files Browse the repository at this point in the history
  • Loading branch information
thoukydides authored Oct 23, 2023
1 parent 5e90ba0 commit 37a5b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ import { PLATFORM_NAME } from './settings';
import { AEGPlatform } from './platform';

// Register the platform with Homebridge
export = (api: API) => api.registerPlatform(PLATFORM_NAME, AEGPlatform);
export default (api: API) => api.registerPlatform(PLATFORM_NAME, AEGPlatform);

0 comments on commit 37a5b56

Please sign in to comment.