Skip to content
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,4 @@ typings/
# dotenv environment variables file
.env

# next.js build output
.next
index.d.ts
4 changes: 0 additions & 4 deletions index.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Blob {
*
* @param {number} [start]
* @param {number} [end]
* @param {string} [contentType]
* @param {string} [type]
*/
slice(start = 0, end = this.size, type = '') {
const {size} = this;
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"lint": "xo",
"test": "xo && ava",
"report": "nyc ava",
"coverage": "nyc --reporter json --reporter text ava && codecov -f coverage/coverage-final.json"
"coverage": "nyc --reporter json --reporter text ava && codecov -f coverage/coverage-final.json",
"prepublishOnly": "tsc --declaration --emitDeclarationOnly --allowJs index.js"
},
"repository": "https://github.com/node-fetch/fetch-blob.git",
"keywords": [
Expand All @@ -33,6 +34,7 @@
"get-stream": "^5.1.0",
"node-fetch": "^2.6.0",
"nyc": "^15.0.1",
"typescript": "^3.9.5",
"xo": "^0.32.0"
},
"xo": {
Expand Down