Skip to content

Commit

Permalink
fix(health): fix queryAggregated return type
Browse files Browse the repository at this point in the history
closes #1200
  • Loading branch information
ihadeed committed Mar 20, 2017
1 parent f3407e5 commit 8cd648d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ export class Health {
* To be sure to get all the stored quantities, it's better to query single nutrients.
* nutrition.vitamin_a is given in micrograms in HealthKit and International Unit in Google Fit.
*
* @param queryOptionsAggregated
* @return {Promise<HealthData>}
* @param queryOptionsAggregated {HealthQueryOptionsAggregated}
* @return {Promise<HealthData[]>}
*/
@Cordova()
static queryAggregated(queryOptionsAggregated: HealthQueryOptionsAggregated): Promise<HealthData> {
static queryAggregated(queryOptionsAggregated: HealthQueryOptionsAggregated): Promise<HealthData[]> {
return;
};

Expand Down

0 comments on commit 8cd648d

Please sign in to comment.