Skip to content

Commit

Permalink
fix: add type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
dbushong committed Oct 18, 2019
1 parent 4e337d2 commit 13884e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/typedefs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export function stringify(
data: any,
visitor?: ((key: string, value: any) => any) | undefined | null,
indent?: number | string
): string;
export function parse(
text: string,
reviver?: (key: string, value: any) => any
): any;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
]
}
},
"types": "lib/typedefs.d.ts",
"dependencies": {
"coffeescript": "^1.10.0"
},
Expand Down

0 comments on commit 13884e5

Please sign in to comment.