Skip to content

Commit

Permalink
fix(types): Attempt to correctly export type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
vinsonchuong committed Nov 26, 2021
1 parent 1d10a89 commit a0acbe5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/node_modules
/index.d.ts
/**/*.d.ts
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**/*.test.js
**/*.test.d.ts
**/test.js
**/test.d.ts
test/

.yarn/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"main": "index.js",
"scripts": {
"test": "xo && tsc --noEmit && ava",
"prepublishOnly": "tsc --emitDeclarationOnly --outFile index.d.ts",
"prepublishOnly": "tsc --emitDeclarationOnly",
"release": "semantic-release"
},
"type": "module",
Expand Down

0 comments on commit a0acbe5

Please sign in to comment.