Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Paul van Brenk
1996e6a1a6
Fix issues and merge more changes from master
2016-11-30 13:54:18 -08:00
Doron Grinzaig
4666d386d6
Add event to submitHandler signatute
2016-11-07 12:56:19 +02:00
Ryan Cavanaugh
a4f5ae3098
Merge commit 'upstream/master~250' into merge_7_25
2016-07-26 18:03:56 -07:00
Ryan Cavanaugh
e94e9a8630
Merge commit 'upstream/master~450' into merge_7_25
2016-07-26 13:40:56 -07:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Mohamed Hegazy
04a17a5482
Merge pull request #8686 from lqbweb/master
...
missing elementValue(Element) method, meant to return the value from the Element
2016-06-26 15:48:47 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062
Remove unneeded references
2016-05-10 12:22:25 -07:00
kodeo
0a27eaa06f
Add addMethod overload in support of message as a function
2016-05-10 11:37:53 +01:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
81862d240d
More fixes
2016-05-04 22:50:05 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
dc851736af
Delete unused tscparams
2016-04-27 20:42:33 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Rubén Pérez
dd12757cc7
missing elementValue(Element) method, meant to return the value in which
...
to apply the constraints out of the Element
2016-03-22 19:21:22 +01:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Nathan Pitman
9319bd0b03
Update jquery.validation bindings and tests. Changes include:
...
* Relaxed $.validator.format so that the arguments don't have to be strings. Added overloads, so that if called with just a template and no arguments, it returns a curried function, as per http://jqueryvalidation.org/category/validator/ . $.format might need changing (?) but I haven't touched it as it's deprecated anyway. Added tests.
* Place everything inside a JQueryValidation module to avoid cluttering the global namespace
* Split Validator into Validator and ValidatorStatic interfaces for correctness. Subdivide tests accordingly.
* Change rules to be typed as a RulesDictionary rather than an Object.
* Change ValidationOptions.groups to be { [groupName: string]: string } rather than Object.
* Change ValidationOptions.onclick, onfocusout and onkeyup from bool | Function to ShouldValidatePredicate, an alias for boolean | ((element: HTMLElement, event: JQueryEventObject) => void). Added more tests
2015-07-02 23:03:43 +12:00
Grégoire Castre
fa765633b5
Add missing methods and properties
2015-03-18 14:26:13 +01:00
Louis-Philippe Perras
e8a6d12dc7
Updated the tests test JQuery param.
...
Added a new test to validate that the element union now accepts JQuery object.
2015-02-04 18:09:38 -05:00
Louis-Philippe Perras
d34679d362
Allowed JQuery object to the element Validator.
2015-02-04 18:08:11 -05:00
johnnyreilly
e89af75d2c
jQuery.Validation is union typed
2015-01-18 07:14:04 +00:00
Maks3w
e07da8a6fa
[jquery.validation][1.11.1] invalidElements and validElements methods
2014-11-09 12:09:26 +01:00
Mohamed Hegazy
2aaa293cb1
Remove quotes from response files
2014-09-02 14:53:39 -07:00
Bart van der Schoor
1d345f6c14
cleaned-up headers
2014-06-18 23:31:11 +02:00
Martin D.
3f402aa458
Project URL updated
2014-06-06 13:20:28 -04:00
John Reilly
e984ccc6e3
jQuery-validate: interface JSDoc
2014-03-21 08:59:20 +00:00
John Reilly
c765fad27f
jQuery-validate: fix up
2014-03-21 08:50:24 +00:00
John Reilly
6a22fbb286
jQuery-validate
2014-03-20 17:17:16 +00:00
John Reilly
21092d44c8
Merge pull request #1884 from johnnyreilly/master
...
jQuery.validation:started JSDoc for jQuery val
2014-03-20 14:19:11 +00:00
John Reilly
1485111fcf
jQuery.validation:started JSDoc for jQuery val
2014-03-20 14:10:17 +00:00
Louis-Philippe Perras
90779813c5
Changed the any[] to be any
...
http://jqueryvalidation.org/jQuery.validator.addMethod#jQuery-validator-addMethod-name-method-message
2014-02-24 16:39:27 -05:00
Louis-Philippe Perras
7fa3c07750
addMethod params arguments vs array syntax
...
jQUery Validation does not send arguments but an array of the argument already built. By using the ... syntax of TypeScript, we get an array with one item that has the array sent by jQuery validation. I think the definition should use an array instead of arguments syntax.
2014-02-24 10:06:55 -05:00
John Reilly
da1982687c
jQuery.validation: Gave definition to errorMap
2014-01-02 15:49:20 +00:00
Igor Oleinikov
49ddab3a0b
Merge remote-tracking branch 'remotes/upstream/switch-0.9.5' into switch-0.9.5
...
Conflicts:
jquery/jquery-tests.ts
q/Q-tests.ts
q/Q.d.ts
2013-12-23 15:40:56 +04:00
johnnyreilly
15e43db83a
jQuery.validation: Fix tests
2013-12-23 10:17:28 +00:00
Igor Oleinikov
d33450a368
jquery.validation: fix test
2013-12-18 20:36:55 +04:00
John Reilly
6e0a06f02f
Tightened up ValidationOptions
...
Using a combination of the source code and the documentation at
http://jqueryvalidation.org/validate/ I've tightened up the
ValidationOptions. NB success remains as any because (AFAIK) it's not
possible to model alternate overloads in an interface with TypeScript (
https://typescript.codeplex.com/workitem/1893 ).
2013-11-15 11:57:53 +00:00
vvakame
34899afaae
Merge commit '2772dfeec9cdb1744f6c010babef9e40b6770dd7' into plan-of-destroy-implicitAny
2013-10-18 12:41:53 +09:00
John Reilly
6b8d398be9
Added errorList / errorMap properties and valid / size / hideErrors functions with associated tests
2013-10-10 17:02:39 +01:00
vvakame
2708bc05cd
Fixed tsc failed on Node.js v0.8.25
2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e
Fixed to CI test passing
2013-10-03 10:18:58 +09:00