Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit feb158c

Browse filesBrowse files
committed
Typescript typings fix
1 parent 3911d6a commit feb158c
Copy full SHA for feb158c

File tree

2 files changed

+6
-3
lines changed
Filter options

2 files changed

+6
-3
lines changed

‎index.d.ts

Copy file name to clipboardExpand all lines: index.d.ts
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,5 +583,8 @@ declare class EtherscanApi {
583583
getEtherLastPrice(): Promise<EtherPrice>
584584
}
585585

586-
export as namespace EtherscanApi
586+
declare namespace EtherscanApi {
587+
588+
}
589+
587590
export = EtherscanApi

‎package.json

Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-etherscan-api",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "",
55
"main": "./src/index.js",
66
"scripts": {
@@ -9,7 +9,7 @@
99
"doc":
1010
"jsdoc2md --files src/index.js --template doc/template.hbs > doc/API.md"
1111
},
12-
"typings": "./index.d.ts",
12+
"types": "index.d.ts",
1313
"jest": {
1414
"testMatch": ["<rootDir>/tests/**/*.js"]
1515
},

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.