Skip to content

Commit

Permalink
feat: Add types declaration stubb
Browse files Browse the repository at this point in the history
Initial types declaration
  • Loading branch information
Jason Healy committed Feb 10, 2020
2 parents bfc0c78 + 9e5b944 commit 05944b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module "ethr-did-resolver" {
export function getResolver(options: any): any;
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "ethr-did-resolver",
"version": "1.0.2",
"version": "1.0.2-dev",
"description": "Resolve DID documents around ethereum addresses",
"main": "dist/ethr-did-resolver.js",
"source": "src/ethr-did-resolver.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/uport-project/ethr-did-resolver.git"
Expand Down

0 comments on commit 05944b1

Please sign in to comment.