Skip to content

Commit

Permalink
Adding typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
SnareChops committed Jan 24, 2016
1 parent 5ef175d commit 0a6aacf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions xml2js-xpath.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
declare module 'xml2js-xpath'{
export = xpath;

module xpath{
function evalFirst(json: any, path: string, fetch?: boolean | string): any | string;
function find(json: any, path: string): any[];
function jsonText(json: string | any): string;
}
}

0 comments on commit 0a6aacf

Please sign in to comment.