Skip to content

Commit

Permalink
docs(d.ts): Add type def for prettyPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas committed May 16, 2017
1 parent 92467a5 commit 8e4c612
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6949,3 +6949,11 @@ export function cookRandomSortQuery(query?: Query, seed?: number): FunctionScore
* @throws {TypeError} If `query` is not an instance of `Query`.
*/
export function cookFilterQuery(query: Query, scoring?: boolean): BoolQuery;

/**
* Utility function to pretty print objects to console.
* To be used in development.
*
* @param {Object} obj
*/
export function prettyPrint(obj: any): void;

0 comments on commit 8e4c612

Please sign in to comment.