Commit Graph
40548 Commits
Author SHA1 Message Date
Martin Payne 4d1d1b5ecb readline-sync: added 'cancel' property into BasicOptions (#23176) 2018-01-25 07:57:02 -08:00
albertywu 4fd902f173 adds typings for async-retry npm package (#23175) 2018-01-25 07:56:44 -08:00
taoqf 19a9b642cf add package jsreport-core (#22913)
* add package jsreport-core

* add type string as `recipe` and `engine`

* improve type definition
2018-01-25 07:32:00 -08:00
Jan Aagaard 00ab527933 zapier-platform-core: Add methods related to tests (#23158)
* Add methods related to tests

* Slightly more specific method signatures

* Add missing 'await'

* Fix linting issues
2018-01-25 07:27:28 -08:00
Eloy Durán 6fa86af96d Merge pull request #23072 from iRoachie/rnmu-toolbar
feat(react-native-material-ui): Add onRightElementPress callback info
2018-01-25 08:20:50 -05:00
stesix c54b691628 Update scrypt-async types to version 1.3.1 (#23163)
* Update scrypt-async types to version 1.3.1

* Change namespace for scrypt-async

Changing the declaration of the namespace will merge the interface
definitions in the exported object. This allows to use scrypt.Options as
a type.

* Fix wrongly defined interfaces in test
2018-01-24 15:13:16 -08:00
Andy 6d3193f7aa oauth2-server: Fix 'express' import (#23173) 2018-01-24 12:37:02 -08:00
Yoyo Zhou f51e60a117 kafka-node: Fix type of Message.key to be optional string (#23041)
key is not a number, it's a string. See KeyedMessage constructor, above.

(However, if `encoding` is specified as "buffer" in ConsumerOptions then `key` and `value` are actually `Buffer` rather than `string`. I'm not sure if it's possible to specify this better than `string|Buffer` since it may not be knowable at compile time.)
2018-01-24 12:02:52 -08:00
Apurva Ojas bd5a9a9abe Enhancement @types/three Added definition for THREE.FilmPass #14042 (#22981)
* feat(FilmPass): Added Definition for Three.FilmPass

#14042

* fix(THREE.FilmPass): Definition update

fixed grayscale type, changed to boolean

#14042

* chore(THREE.FilmPass): Added name to efinitions By

#14042

* chore(THREE.FilmPass): Definitions added of variables and functions

#14042

* feat(THREE.Pass/THREE.FilmPass): Added Definitions for THREE.Pass and Extend it on THREE.FilmPass

#14042

* chore(THREE.FilmPass): Removed render function declarartion as it extends from Pass

#14042
2018-01-24 12:01:34 -08:00
Neil Gentleman 038d712743 [p-limit] fix generics (#23066)
generated limit functions don't care about types, but preserve the return
type of the function that they are passed.
2018-01-24 12:00:46 -08:00
James Grant 43f9180f2b [react-data-grid] Add getCellActions to GridProps (#23110)
* Add getCellActions to GridProps

* Change callback type from Function to () => void
2018-01-24 12:00:15 -08:00
Andy Hanson ccbc4a570e Merge branch 'grypho-master' 2018-01-24 11:46:01 -08:00
Andy Hanson 62244dc72b @kant2002 code review 2018-01-24 11:45:53 -08:00
Andy Hanson 00d56a6aa6 Merge branch 'master' of https://github.com/grypho/DefinitelyTyped into grypho-master 2018-01-24 11:43:51 -08:00
Jinesh Shah c2dd2e11e5 fixed more mistypings related to arrays vs tuples (#23172) 2018-01-24 11:40:39 -08:00
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.

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