Skip to content

Commit

Permalink
Add ts typings
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante committed Dec 17, 2021
1 parent c57d271 commit 2677727
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module "investing-com-api" {
export function investing(input: string, interval?: number, candleCount?: number, period?: string): any[];
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "investing-com-api",
"version": "2.4.1",
"version": "2.4.2",
"description": "Unofficial APIs for Investing.com website.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 2677727

Please sign in to comment.