Skip to content

Commit

Permalink
Merge pull request #10 from onokumus/master
Browse files Browse the repository at this point in the history
TypeScript support
  • Loading branch information
jonschlinkert authored Jul 11, 2017
2 parents 6d689f3 + 4e7811d commit 6f0a7df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export = isPlainObject;

declare function isPlainObject(o: any): boolean;

declare namespace isPlainObject {}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
},
"license": "MIT",
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"main": "index.js",
"types": "index.d.ts",
"engines": {
"node": ">=0.10.0"
},
Expand Down

0 comments on commit 6f0a7df

Please sign in to comment.