Skip to content

Commit ead4eb3

Browse files
committed
Fix for .d.ts output
1 parent 544b79d commit ead4eb3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ typings/
6262
# dotenv environment variables file
6363
.env
6464

65-
@types
65+
index.d.ts
66+
from.d.ts

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"files": [
77
"from.js",
88
"index.js",
9-
"@types/index.d.ts",
10-
"@types/from.d.ts"
9+
"index.d.ts",
10+
"from.d.ts"
1111
],
1212
"scripts": {
1313
"lint": "xo",
1414
"test": "xo && ava",
1515
"report": "c8 --reporter json --reporter text ava",
1616
"coverage": "c8 --reporter json --reporter text ava && codecov -f coverage/coverage-final.json",
17-
"prepublishOnly": "tsc --declaration --emitDeclarationOnly --allowJs --outDir @types index.js from.js"
17+
"prepublishOnly": "tsc --declaration --emitDeclarationOnly --allowJs index.js from.js"
1818
},
1919
"repository": "https://github.com/node-fetch/fetch-blob.git",
2020
"keywords": [

0 commit comments

Comments
 (0)