Skip to content

Commit

Permalink
Add typescript type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-j committed May 3, 2020
1 parent 103123d commit 00a7872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
"updtr": "^3.1.0"
},
"optionalDependencies": {},
"typings": "./types.d.ts",
"bugs": {
"url": "https://github.com/FGRibreau/mailchecker/issues"
}
Expand Down
2 changes: 2 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export function isValid(email: string): boolean
export function blacklist(): string[]

0 comments on commit 00a7872

Please sign in to comment.