Skip to content

Commit

Permalink
refactor(plugin): fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
matey97 committed Aug 4, 2022
1 parent 0024c15 commit dbe7515
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { Common, WearosSensorsConfig } from './wearos-sensors.common';
import { SensorType } from "./internal/sensors/sensor-type";
export declare class WearosSensors extends Common {
init(config?: WearosSensorsConfig): Promise<void>;
}
export declare const wearosSensors: WearosSensors;
export { WearosSensorsConfig, allSensors, defaultConfig } from './wearos-sensors.common';
export declare const allSensors: SensorType[];
export declare const defaultConfig: WearosSensorsConfig;

export { WearosSensorsConfig } from './wearos-sensors.common';
1 change: 1 addition & 0 deletions src/wearos-sensors.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,4 @@ function sensorTypeToWearSensor(sensorType: SensorType): WearSensor {
}

export const wearosSensors = new WearosSensors();
export { allSensors, defaultConfig };

0 comments on commit dbe7515

Please sign in to comment.