Commit Graph
57723 Commits
Author SHA1 Message Date
Leonard Thieu 68c38a850c [backbone] Fix test failure in backbone.marionette due to changes in jQuery Events API. 2018-11-24 09:43:05 -05:00
Leonard Thieu acc34c5a23 [angular] Update merging tests for jQuery Events API changes. 2018-11-24 09:43:04 -05:00
Leonard Thieu 00c546398c [jquery] Add support for event types that have shorthand methods. 2018-11-24 09:43:04 -05:00
Leonard Thieu f13af8beb0 [jquery] Improve declaration of Events API.
* Introduced the concept of a triggered event. A triggered event is a jQuery event that has been triggered (either manually by `.trigger()` or `.triggerHandler()`, or automatically by the user agent). Many properties on an event are not set until it has been triggered. Triggered events are now represented by `JQuery.TriggeredEvent`. `JQuery.Event` represents the object returned from the `jQuery.Event` constructor and serves as the base type for all jQuery events.

* Added a type parameter for `currentTarget` (`TCurrentTarget`). Previously, `currentTarget` was set to the type of `delegateTarget`. This was only correct for events received from directly bound event handlers. This allows delegate bound event handlers to specify the correct type of `currentTarget`.

* Added a type parameter for `target` (`TTarget`). Previously, `target` was set to the type of `delegateTarget`. This was not always correct. For delegate bound event handlers, `target` can be `delegateTarget` or any of its descendents. The exact type of `target` cannot be known until run time, so consumers should use a type assertion.

* Changed methods that bind event handlers to more accurately reflect the event object received through the callback. Both direct and delegate binding are now properly handled. This also includes a framework for providing more specific events for known event types.
2018-11-24 09:43:03 -05:00
Leonard Thieu c1ec1c28e5 [jquery] Remove JQuery.EventHandlerBase<TContext = any, JQuery.Event> from handler types.
Handler types previously included `JQuery.EventHandlerBase<TContext = any, JQuery.Event>`. This was a fix to what turned out to be a problem with `jQuery.proxy`. That issue was properly fixed by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29930.
2018-11-24 09:43:03 -05:00
Leonard Thieu 32e0482fb5 [jquery] Remove jQuery.Event(EventLike) signatures and EventLike interface.
These are undocumented and don't appear to be intended to be public.
2018-11-24 09:43:02 -05:00
Leonard Thieu 50b56a19ce [jquery] Remove jQuery.event.props.
See https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed.
2018-11-24 09:43:02 -05:00
Leonard Thieu e64bea6d88 [jquery] Remove jQuery.event.fixHooks.
See https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed.
2018-11-24 09:43:01 -05:00
Leonard Thieu 16770fa6e1 [jquery] Add deprecation notice for Event.which. 2018-11-24 09:43:01 -05:00
TeamworkGuy2 a169bc5dda [cached-path-relative] Add documentation to new definition 2018-11-24 14:26:28 +00:00
Igor Stepanov ec0977d8d5 @types/got: add TimeoutError interface
Add `got.TimeoutError` in accordance with sindresorhus/got@da4f23699d
2018-11-24 15:24:34 +03:00
Sibiraj 55ab68c976 fix: update types to support external plugins 2018-11-24 16:13:17 +05:30
muzea c7d8952d42 fix(babel__core): the transform actually return FIle 2018-11-24 18:16:56 +08:00
Sibiraj e0a0256b17 fix(prettier): use correct parser type for SupportLanguages 2018-11-24 12:49:36 +05:30
Hiroshi Ioka da0630fa32 @types/mockingoose: add new package 2018-11-24 14:01:20 +09:00
Alan Plum c0df17945e Added ldap-filters@2.2 2018-11-24 02:15:14 +01:00
Alan Plum 1cef81059e Update index.d.ts 2018-11-24 01:45:43 +01:00
Alan Plum 3df7d2836e Add promised-ldap@0.3 2018-11-24 00:09:31 +01:00
Matt Ferderer 47a677d748 Fixed amount token property to be optional 2018-11-23 15:29:05 -06:00
Yves Kaufmann 4e31c72dfd [MONGODB] Fixes possible authMechanism values 2018-11-23 21:33:48 +01:00
Lucas 12a360ab0c Update index.d.ts
Remove umd namespace
2018-11-23 19:49:32 +01:00
Kurt Preston 3a606a9bae Removing self as definition owner in reactstrap and react-jsonschema-form 2018-11-23 12:21:51 -06:00
Alan Plum 64df3bfb11 Add mcrypt@0.1 2018-11-23 17:58:00 +01:00
Yves Kaufmann 2547248db2 [mongodb] Add authMechanism parameter and replaces line comments with block comments 2018-11-23 17:23:57 +01:00
James Messinger 3b5293b936 added type definitions for Petit-Dom 0.2 2018-11-23 09:16:24 -06:00
Vitor Santos adad38a0d5 Fixed lint errors and incomplete comment 2018-11-23 13:16:16 -02:00
Jessica 8beb9e99a7 Fix test, add test to demonstrate how custom elements will work 2018-11-24 00:08:43 +09:00
Jessica cc8f6fcd7c Fix incorrect type caught by stricter ReactType 2018-11-24 00:08:22 +09:00
Nicolas Biehler 2a7faa683c fix: extend elasticsearch alias params
As shown in elasticsearch documentation (https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html#filtered), an alias can have a routing value and a filter specified.
2018-11-23 15:35:35 +01:00
Mihai Dinculescu 7c04ee0c8a Code review changes. 2018-11-23 14:04:06 +00:00
rvitorsantos 184879995c Add typing for Abstract Grant Type
* Add typing for Abstract Grant Type
* Add parameter extendedGrantTypes in TokenModel interface
2018-11-23 11:38:27 -02:00
Jessica Franco 36a32d8a72 Correct name in credits (#30772) 2018-11-23 13:31:04 +00:00
Dimitri Benin 16033f3b89 Correct return types for p-defer 2018-11-23 13:17:18 +01:00
Dimitri Benin f03ea514f7 Update types for ltx 2018-11-23 13:14:50 +01:00
Pavlos Vinieratos b4dee98a6c make optional, since they have a default value 2018-11-23 12:31:17 +01:00
Pavlos Vinieratos 90c693faf2 Merge branch 'master' into add-react-native-safe-area 2018-11-23 12:25:29 +01:00
Bastien Chevallier 179975f7d5 Fix trailing space 2018-11-23 12:18:06 +01:00
Richard Honor 3334e0c4ed Add modes to merge config 2018-11-23 11:15:15 +00:00
Bastien Chevallier d1e1def886 Update react-tag-input type
Based on this documentation : https://github.com/prakhar1989/react-tags#readme
2018-11-23 12:08:45 +01:00
Markus Lasermann e547598a4f fix tests 2018-11-23 11:34:42 +01:00
luz-alphacode 294e39f046 [@type/paper] fillColor/strokeColor/shaderColor can be null to set it off 2018-11-23 18:27:15 +08:00
Markus Lasermann 63e3bac336 tslint 2018-11-23 10:33:36 +01:00
AzSiAz deab75bde4 requested correction 2018-11-23 10:06:23 +01:00
Markus Lasermann 3667c06d45 travis build could not parse version 2018-11-23 10:05:15 +01:00
Christophe Hurpeau 8fca44e5aa Merge branch 'master' of ssh://github.com/DefinitelyTyped/DefinitelyTyped into patch-1 2018-11-23 09:55:05 +01:00
Jessica 4dd9510a50 Strengthen type of ReactType to also validate intrinsic elements 2018-11-23 15:10:09 +09:00
Jessica ad2da6f448 Add overload to fix test 2018-11-23 14:53:49 +09:00
Jessica fe3f2298c7 Add failing test 2018-11-23 14:48:52 +09:00
Boris Sergeyev 2d5a8af9f8 [react-redux] used whitespace consistently (no tabs) 2018-11-22 22:18:01 +01:00
Boris Sergeyev 35d989dce0 [react-redux] bumped TS versions of packages dependent on react-redux 2018-11-22 22:16:23 +01:00