Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Add queryParams to setQueryParams definition
Browse files Browse the repository at this point in the history
  • Loading branch information
danseethaler committed Apr 30, 2018
1 parent 771d81c commit 5bb9a2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fh-js-sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ declare module FeedHenry {

/**
* Delete the locally stored session token. Will also request that the RHMAP server revoke it
* @param callback
* @param callback
*/
export function clearSession(callback: (err: any) => void)
}
Expand Down Expand Up @@ -514,10 +514,11 @@ declare module FeedHenry {

/**
* @param {String} datasetId
* @param {Object} queryParams
* @param {Function} success
* @param {Function} failure
*/
function setQueryParams(datasetId: string, success: (queryParams: any) => void, failure: (err: string, datasetId: string) => void);
function setQueryParams(datasetId: string, queryParams: any, success?: (queryParams: any) => void, failure?: (err: string, datasetId: string) => void);

/**
* @param {String} datasetId
Expand Down

0 comments on commit 5bb9a2b

Please sign in to comment.