Commit Graph
40815 Commits
Author SHA1 Message Date
Chris Krycho fa958d3475 Ember: delegate Enumerable method types to Array. (#23130)
* Ember: delegate `Enumerable` method types to `Array`.

* Ember: drop `NativeArray` overrides.
2018-01-24 10:31:27 -08:00
maixiu ba31e6b551 add package jquery-sticky (#23162)
* add package jquery-sticky

* enabled tsconfig options
2018-01-24 10:16:00 -08:00
Andy a0d0b93d94 aws-lambda: Lint (#23167) 2018-01-24 09:53:35 -08:00
Andrew Pinkham 021cf2a985 Fix Leaflet.Draw.DrawEvents.Created.layer type (#23137)
The DrawEvents.Created layer variable is not of type Layer. As noted by
the in-code documentation, the Leaflet.Draw.DrawEvents.Created.layer
variable is one of Leaflet's vector shapes or a markers.

https://github.com/Leaflet/Leaflet.draw/blob/c6af99b761c5d9900bf5a3e2e1d8827bbde29542/src/Leaflet.Draw.Event.js#L31

The L.Draw.Event.CREATED event is only fired by Draw.Feature in the
_fireCreatedEvent method.

Draw.Feature bequeaths _fireCreatedEvent to it's subclasses Draw.Marker,
Draw.Polyline, and Draw.SimpleShape, which in turn bequeath the method
to  Draw.Circle, Draw.Rectangle (both from Draw.SimpleShape),
Draw.CircleMarker (from Draw.Marker), and Draw.Polygon (from
Draw.Polyline).

Draw.Circle, Draw.CircleMarker, Draw.Marker, Draw.Rectangle and
Draw.Polyline override the _fireCreatedEvent to pass instances of their
respective vector classes to _fireCreatedEvent, meaning that the layer
variable is not of type Layer, but instead one of the vector or marker
classes. For example, Draw.Circle passes L.Circle to
L.Draw.Feature.prototype._fireCreatedEvent as the argument to the
`layer` parameter.

Note that Draw.Polygon inherits Draw.Polyline's behavior without
changes, but changes the vector class via the Poly class variable.
2018-01-24 09:01:32 -08:00
Anton Myzenkov 76a6216365 [mongodb] Updated Logger class constructor. (#23140)
Changed parameter "options" of Logger class to optional.
2018-01-24 09:00:34 -08:00
Ivan Goncharov ca9d8d7e0f [graphql] Reformat all files using prettier. (#23142)
See https://github.com/graphql/graphql-js/pull/1112
2018-01-24 09:00:08 -08:00
Omar Diab cf7e1301b3 knex cb selectors: this is a QueryBuilder (#23143)
* knex cb selectors: this is a QueryBuilder

* knex: tests for QueryCallback
2018-01-24 08:59:29 -08:00
Seth Westphal 2c84740341 Fix Auth0 createPasswordChangeTicket() parameters. (#23147) 2018-01-24 08:58:16 -08:00
Xiaohan Zhang fef2c8c616 Add express-to-koa definition (#23153)
* Add express-to-koa definition

* Fix types
2018-01-24 08:57:46 -08:00
georgberecz 6eb3057805 Add missing mouse event typings for View (#23156) 2018-01-24 08:57:17 -08:00
Sehrope Sarkuni e19b0d4f73 Redis add all caps PING and PUBLISH functions (#23160)
* redis: Add missing PUBLISH function

* redis: Add missing PING function
2018-01-24 08:56:56 -08:00
SangWon Kim 11707d7cf4 Add types for 'josa' (#23067)
* Add josa

* Drop some over-detail tests
2018-01-24 08:19:59 -08:00
Rene Hamburger 32418893ec Add initial typings for the New Relic Browser client (#23146)
* Add typing for the New Relic Browser client

* Reactivate no-redundant-jsdoc-2 & remove type info from jsdoc blocks
2018-01-24 08:17:26 -08:00
Youen 2707abc38a [react-router] added possibility to specify component props in route definitions, and to specify the type of this.props.route.props when implementing such a component (#22954)
* [react-router] fixed lint error due to implicit any in CustomLink test

* [react-router] added possibility to specify component props in route definitions, and to specify the type of this.props.route.props when implementing such a component

Example:

/* component definition */
interface Props { foo: string }
class MyComponent extends React.Component<RouteComponentProps<void,void,Props>, State> {
    /* here you can use this.props.route.props.foo */
}

/* route configuration */
<Route path="/my-path" component={MyComponent} props={{ foo: 'bar' }}>

* - fixed lint errors related to T[] instead of Array<T>
- added default type for ComponentProps in RouteComponentProps<P,R,ComponentProps>, so that it stays compatible with existing code

* [react-router] added default route props type (any) so that this new feature is fully backward compatible

* [react-router] fixed lint errors (T[] instead of Array<T> for non-generic types)
2018-01-24 08:16:00 -08:00
Eloy Durán b11071e568 Merge pull request #23151 from Donkey-Kurt/patch-1
add missing props for android webview
2018-01-24 05:53:47 -05:00
Donkey-Kurt f6099e4f98 fix trailing whitespace
fix trailing whitespace
2018-01-24 11:05:58 +08:00
Donkey-Kurt 3154b51d76 add missing props for android webview
adding    mixedContentMode?: "never" | "always" | "compatibility";

http://facebook.github.io/react-native/docs/webview.html#mixedcontentmode
2018-01-24 10:47:40 +08:00
DavidM77 067defebd0 Add types for hbs npm package (#23091)
* Add types for hbs

* Use dtsg-gen generated tsconfig.json

* Add additional tests

* Now lints with less cheating

* Avoid losing type information
2018-01-23 16:19:23 -08:00
Andy 4b720c2d25 lodash: Remove empty files (#23145) 2018-01-23 16:16:58 -08:00
Ali Sabil e935d060d4 react-native: Add stiffness/mass/damping to SpringAnimationConfig (#23035) 2018-01-23 15:06:20 -08:00
Qiao ed4668bfd0 Added $, $$ as global funtions (#22926) 2018-01-23 15:05:43 -08:00
alexmalcoci 2fd08854b2 [alexa-sdk] Update request and list event objects (#22899)
* Update request and list event objects

* Update version to 1.1
2018-01-23 15:05:10 -08:00
Louis Roché ee0a159fc2 add requestTimeEpoch to aws lambda types (#22941)
Add the missing requestTimeEpoch in the APIGatewayEventRequestContext interface.

$context.requestTimeEpoch is documented in https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference
2018-01-23 15:03:59 -08:00
Benjamin Buhler 4c23e96fc7 Added $processModelValue to INgModelController (#23128)
See https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#$processModelValue
2018-01-23 15:03:32 -08:00
Gilad Gray 5f4d4c1865 update SVGO types for 1.0 (#23139)
* update SVGO types for 1.0

* optional info
2018-01-23 14:42:19 -08:00
Guillaume RODRIGUEZ db0522e8fe [chart.js] Fix dafaults and controllers Chart (#23027) 2018-01-23 12:57:46 -08:00
Andrej Komelj 7d0fba3465 Update Firmata options and constructors (#22978) 2018-01-23 12:03:15 -08:00
Joseph Weidinger c5e0c176f3 [react-geosuggest] - update api to latest version (#22969)
* update react-geosuggest

* take out patch number as DT CI doesn't like it
2018-01-23 12:02:38 -08:00
Mirko Guarnier 2c71c28bc5 Redux form onChange onBlur fix (#22989)
* Fix onChange and onBlur parameters

* Add semicolon

* Fix definition
2018-01-23 12:00:10 -08:00
smhxx da85ce8409 mocha: reporter() method takes optional second parameter (#23026) 2018-01-23 11:58:45 -08:00
Admin Localnet 7fd0895663 Add util.promisify types for glob (#23037)
* Add util.promisify types for glob

* Add util.promisify types for glob
2018-01-23 11:58:23 -08:00
Aleksey 8ecb1305ea [highcharts] added explicit null type to props (#22983) 2018-01-23 11:53:48 -08:00
Bernabe Felix 57d8d50de6 [react-copy-to-clipboard] Add missing parameter to onCopy (#22982) 2018-01-23 11:53:11 -08:00
Netanel Draiman 399a4198af Updated mapbox-gl to include correct FitBoundsOptions (#22950)
As can be seen in the `mapbox-gl-js` [source code](https://github.com/mapbox/mapbox-gl-js/blob/master/src/ui/camera.js#L370), the `fitBounds()` function receives `AnimationOptions & CameraOptions`.

It then calls the `flyTo` or `easeTo` functions according to the options it received.

The `FitBoundsOptions` interface extends `FlyToOptions` as that already extends `AnimationOptions & Camera Options`.
2018-01-23 11:50:35 -08:00
Bradley Ayers ac802ef4b0 Update react-beautiful-dnd to 3.0, fix nullables (#22938) 2018-01-23 11:49:46 -08:00
Pálmi Þór Valgeirsson 286bf2a94d aws-lambda : Add more Cognito triggerSources according to spec (#22943)
* aws-lambda : Add more triggerSources according to spec

* aws-lambda: Add my info in the Definitions by - list

* aws-lambda: Cognito triggerSources list failed npm test due to extra semi colon
2018-01-23 11:48:40 -08:00
Johnny Icarus 8927b689ac [@types/masonry-layout] add new horizontalOrder option (#22949)
* Add new horizontalOrder option

Introduced with masonry v4.2.0 ([release history](https://github.com/desandro/masonry/releases))

* Update extended options test

* Bump version
2018-01-23 11:45:40 -08:00
sapphire 4085ec7481 fix type of types/twit (#22915) 2018-01-23 11:44:53 -08:00
mtgto 1350967a06 material-ui: Fix IconMenu#children (#22910) 2018-01-23 11:40:52 -08:00
Andy Hanson 05a676af17 Merge branch 'JustinBeckwith-fix-p-queue' 2018-01-23 11:39:49 -08:00
Andy Hanson f6a42dd61f Remove redundant jsdoc 2018-01-23 11:39:41 -08:00
Andy Hanson 45a7a39528 Merge branch 'fix-p-queue' of https://github.com/JustinBeckwith/DefinitelyTyped into JustinBeckwith-fix-p-queue 2018-01-23 11:39:00 -08:00
Maarten Mulders c0fd900726 Add arguments to RechartsFunction (#22771)
* Add arguments to RechartsFunction

* Fix a bunch of dtslint findings

* Restore separate type for onBBoxUpdate
2018-01-23 11:38:08 -08:00
Andy Hanson 10d6bc0205 Merge branch 'dancespiele-add-types-navigo' 2018-01-23 11:22:43 -08:00
Andy Hanson d3cb05fdcb Remove extra files 2018-01-23 11:22:21 -08:00
Andy Hanson 97ecfc0e06 Merge branch 'add-types-navigo' of https://github.com/dancespiele/DefinitelyTyped into dancespiele-add-types-navigo 2018-01-23 11:21:55 -08:00
ReDragon710 cd53b3f923 added unregister method to pluginservice (#22958)
* added unregister to pluginservice

added unregister method to plugin service,
the unregister method was absent

* Update index.d.ts
2018-01-23 11:11:45 -08:00
Anton 77858c3a90 [redux-form] - Fix handleSubmit error (#22945)
* [redux-form] - Fix handleSubmit error

* [redux-form] - Make FormSubmitHandler arguments not optionsl

* [redux-form] - Make class name more readable
2018-01-23 11:11:32 -08:00
Danilo Tenorio Raisi 8db0647a2d Created ScheduledEvent on AWS Lambda Types (#22974)
* Created ScheduledEvent on AWS Lambda Types

* aws-lambda types

Fixed detail type on ScheduleEvent

* types/aws-lambda
Fixed header at index.d.ts
2018-01-23 11:06:53 -08:00
Eugenio Arosteguy 3499d8a0d9 adding typing for tooltip order (#22997) 2018-01-23 10:54:43 -08:00