Commit Graph

40531 Commits

Author SHA1 Message Date
Andres Kalle
c33af47bb2 react: allow null as props for React.createElement() (#22837) 2018-01-24 11:40:08 -08:00
maixiu
a0898b0a15 add package datatables.net-rowgroup (#23125)
* add package datatables.net-rowgroup

* add package jquery-sticky

* delete to put in back in a branch
2018-01-24 11:26:32 -08:00
Andy Hanson
be3972d33c Merge branch 'kaoDev-react-router-navigation' 2018-01-24 11:23:00 -08:00
Andy Hanson
641ad23e2b Fix lint 2018-01-24 11:22:49 -08:00
Andy Hanson
aecf3cbbbd Merge branch 'react-router-navigation' of https://github.com/kaoDev/DefinitelyTyped into kaoDev-react-router-navigation 2018-01-24 11:18:42 -08:00
Andy
0f4014dbf9 lodash: Use module augmentation instead of namespace augmentation to avoid declaring _ as a global variable (#23164) 2018-01-24 11:17:18 -08:00
Andy Hanson
d2d44d9032 Merge branch 'eftas-gka-patch-1' 2018-01-24 11:01:45 -08:00
Andy Hanson
072552cfab Fix lint 2018-01-24 11:01:32 -08:00
Andy Hanson
40f0692032 Merge branch 'patch-1' of https://github.com/eftas-gka/DefinitelyTyped into eftas-gka-patch-1 2018-01-24 11:00:45 -08:00
craigkovatch
3460f25329 Add all WAI-ARIA 1.1 attributes to React HTMLAttributes (#22582)
* Add WAI-ARIA 1.1 attributes to React typings

* Fix linting errors

* Add 'true' and 'false' options to boolean attributes, remove incorrect 'undefined' options

* Add tests

* Revert incorrect use of $ExpectError
2018-01-24 11:00:17 -08:00
Athenkosi
fb0f306a96 added :aqb type definitions (#22995)
* added :aqb type definitions

* added : Type definitions tests
changed : Operation interfaces to classes
changed : export QB to function and class union

* completed : test cases
changed :  operations classes changed to interfaces
added : with return method in replace and update alias
added : complete tslints
changed : tsconfig strict compilers

* 0.0.2

* Considered @weswigham  comments

changed : package.json version back to 0.01
changed : removed "{}" type for ObjectLiteral to Typescript 2.2 "object"
changed : tsconfig comma formatting to standard formatting

updated : bumped up Typescript Version number from 2.1 to 2.2
updated : converted "functions" interface to "AQLfunctions" interface
updated : changed export to align with the shape the library actually exports.

fixed : inconsistent argument names to documentation
fixed : enabled all lint rules
fixed : toArray function args and return types
fixed : all lint issues

* fixed : dtslint source url. Capitilized the "M" in microsoft
fixed : castString function types to return the correct definitions
updated : a few interface class parameters and returns
     * BinaryOperation
     * UnaryOperation class extension and parameters
     * SimpleReference returns
     * ListLiterals
     * NAryOperations
     * RangeExpression
     * PropertyAccess
     * Keyword
     * Identifier
     * FunctionCall
     * Definitions
     * LetExpression
     * CollectionExpression
     * CollectWithCountIntoExpression
     * SortExpression
     * LimitExpression
fixed : castNumber function return
fixed : autoCastToken function return

* fixed : formatted file to pass linting

* changed : used standard comma formatting in tsconfig

* changed : removed redundant documentation
removed : tsconfig typescript compiler version
changed : tsconfig all values to true
changed : tsconfig leading comma instead of trailling

* formated : tsconfig

* removed : @param & @ return documentation
2018-01-24 10:45:42 -08:00
Andy Hanson
156afc2b57 Merge branch 'tquinlan1992-patch-1' 2018-01-24 10:44:34 -08:00
Andy Hanson
e9a1ce46d0 Fix tests 2018-01-24 10:44:25 -08:00
Andy Hanson
35117285c9 Merge branch 'patch-1' of https://github.com/tquinlan1992/DefinitelyTyped into tquinlan1992-patch-1 2018-01-24 10:42:26 -08:00
Andy Hanson
1c4759f375 Merge branch 'bobby77-patch-1' 2018-01-24 10:37:29 -08:00
Andy Hanson
03859a9372 Provide options type 2018-01-24 10:37:24 -08:00
Andy Hanson
67fde1028f Merge branch 'patch-1' of https://github.com/bobby77/DefinitelyTyped into bobby77-patch-1 2018-01-24 10:36:32 -08:00
Retsam
c531c6fa14 [bluebird] chore: reduce some boilerplate on catch filters (#23152)
* Minor spelling fixes

* Use CatchFilter util with variant methods of catch
2018-01-24 10:32:18 -08:00
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.

c6af99b761/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