Commit Graph
12148 Commits
Author SHA1 Message Date
vitalibozhko 4ff3b88cee storejs incorrect enabled flag type. (#23181) 2018-01-25 09:54:56 -08:00
Sergei Dorogin d72c2f781d waypoints.jquery: jQuery Adapter of waypoints 4.x (jquery.waypoints) (#23170)
* jQuery Adapter of waypoints 4.x (jquery.waypoints)

waypoints: refactoring of WaypointOptions to allow waypoint.jquery definition (common options extracted into base interface - WaypointOptionsBase)

* waypoints.jquery: set TypeScript version as 2.3

* waypoints.jquery: fixes: context moved to WaypointOptionsJQuery and WaypointOptions; waypoints-jquery-tests.ts renamed to waypoints.jquery-tests.ts

* waypoints.jquery: fixes: removed BOM in waypoints.jquery-tests.ts

* waypoints: waypoints.jquery has been moved into waypoints (as waypoints/jquery.d.ts)

* waypoints: fixes: waypoints-tests.ts: fixed prefer-const  Identifier 'waypoint1' is never reassigned; use 'const' instead of 'let'.
2018-01-25 09:13:42 -08:00
Vito 4ed51b52ab improve pubnub typings (#23085) 2018-01-25 09:13:21 -08:00
Rasmus Halland 21cd9a3ab3 ckeditor: Added and modified some definitions. (#23079) 2018-01-25 09:12:53 -08:00
Hidde Stokvis 75f317ef3b Add typing to Role.registerResolver function (#23074) 2018-01-25 09:11:57 -08:00
Łukasz Bendykowski 75b0fc7a78 Update moment-duration-format typings to version 2.2 (#23052)
* Update moment-duration-format typings to version 2.2

* Remove omitted trailing whitespace
2018-01-25 09:09:21 -08:00
Rich B 3fb7ee705b Add several missing typings for the recharts Tooltip Component (#23057)
* Correct several missing typings

* fix linting errors
2018-01-25 09:01:07 -08:00
Antoine Niek 3c6fcb55cb Fix react-bootstrap DropdownButton title prop (#23059)
Don't narrow down DropdownButton title prop type with
more restrictive title prop coming from React.HTMLProps.
2018-01-25 08:59:54 -08:00
Jinesh Shah 67a3798e33 added searchableAttributes (#23194)
searchableAttributes was missing in AlgoliaIndexSettings
2018-01-25 08:55:41 -08:00
vdfor c505a992f7 [echarts]Supported when include ECharts charts and components on demand (#23127) 2018-01-25 08:27:38 -08:00
stefdelec 0a704bbc7b Update index.d.ts (#23154)
Add getCountryCodeForRegion method in PhoneNumberUtil
2018-01-25 08:25:07 -08:00
Adam 4ea855971c Fix trial_end type to allow special value 'now' (#23149)
* Fix trial_end type to allow special value 'now' which is mentioned in the docs.

* Updated trial_end type to be more specific and added type tests
2018-01-25 08:24:32 -08:00
Egor Shulga 3e9c07fe9e [react-native-tab-view] SceneMap should support all React.ComponentType's (#23188) 2018-01-25 08:10:44 -08:00
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 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 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 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 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 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