Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Merge 27d04c2 into 03862f9
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 19, 2016
2 parents 03862f9 + 27d04c2 commit 2d6729c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -4,6 +4,7 @@
"author": "Nicklas Ansman <nicklas@ansman.se>",
"description": "Declarative validations for JavaScript",
"main": "validate.js",
"typings": "validate.d.ts",
"homepage": "http://validatejs.org",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions typings.json
@@ -0,0 +1,4 @@
{
"name": "validate.js",
"main": "validate.d.ts"
}
9 changes: 9 additions & 0 deletions validate.d.ts
@@ -0,0 +1,9 @@
export declare interface ValidateJS {
(attributes: any, constraints: any, options?: any): any;
async(attributes, constraints, options?: any): Promise<any>;
single(value: any, constraints: any, options?: any): any;
}

declare var validate: ValidateJS;

export default validate;

0 comments on commit 2d6729c

Please sign in to comment.