Skip to content

Commit

Permalink
feat: add type definitions;
Browse files Browse the repository at this point in the history
- Closes #11
  • Loading branch information
lukeed committed Mar 27, 2021
1 parent ccbfdbc commit 99bfb32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default function (input: Record<string, any>): string;
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"unpkg": "dist/obj-str.min.js",
"module": "dist/obj-str.mjs",
"main": "dist/obj-str.js",
"types": "index.d.ts",
"umd:name": "objstr",
"license": "MIT",
"author": {
Expand All @@ -21,6 +22,7 @@
"test": "uvu -r esm -i fixtures test"
},
"files": [
"*.d.ts",
"dist"
],
"keywords": [
Expand Down

0 comments on commit 99bfb32

Please sign in to comment.