Commit Graph
43980 Commits
Author SHA1 Message Date
Omar Diab 2b5e8a5dd3 Fix missing splat in react-intl types (#25046) 2018-04-17 08:36:39 -07:00
Kyle Roach e460cfa0a3 (react-native) Adds SectionList scrollToLocation (#25050) 2018-04-17 08:35:25 -07:00
Jakub Řičař 1f555b0b4f [react-virtualized] Grid - add onScrollbarPresenceChange to GridCoreProps (#25040)
* Grid - add onScrollbarPresenceChange to GridCoreProps

* Fix irregular whitespace
2018-04-17 08:35:05 -07:00
Arne Schubert f8b7232c91 Add new type definition for toobusy-js (#25019)
* Add new definitions for toobusy-js

* Change import according to the change-request
2018-04-17 07:59:02 -07:00
Aneil Mallavarapu 33babb4010 Add types/jsonwebtokens-promisified (#25038)
* Add jsonwebtoken-promisified

* Add types/jsonwebtoken-promisified

* Remove tslint ignore statements & fix issues
2018-04-17 07:58:44 -07:00
Shayne Hartford 0b0483cf78 @types/snekfetch: Added optional Snekfetch.SnekfetchOptions (#24754)
* Edited version

* Because travis succ

* Added friend's suggestions

* Fixed

* Upgraded typescript version
2018-04-17 07:57:58 -07:00
Juanjo Diaz f929c81119 Add new unwindBlank to json2csv (#25043) 2018-04-16 17:56:41 -07:00
Konrad Mattheis 92477a4d52 fix functions that have a object with multiple return values like GetHyperCubeContinuousData (#25010)
Signed-off-by: Konrad Mattheis <konrad.mattheis@akquinet.de>
2018-04-16 17:56:24 -07:00
earshinov 24805d4023 [ckeditor] Various additions to the typings (#24856)
* Declare that `CKEDITOR` has event subscription interface for global events like `"instanceCreated"`.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR.html#Events

* Declare `CKEDITOR.editor.getSelectedHtml` with overloads.

Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-method-getSelectedHtml

* Declare some arguments as optional

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.event-method-preventDefault
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-createBookmark2
* https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_node.html#method-getAddress
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-getCommonAncestor

* Fix typings of `createBookmark[s][2]`:

* Properly declare methods `createBookmarks[2]` instead of `createBookmark[2]` on `CKEDITOR.dom.rangeList`.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_rangeList.html#method-createBookmarks

* Use return type of `bookmark[]` for "intrusive bookmarks" everywhere as in `CKEDITOR.dom.range.createBookmark`.

* Declare parameters of `CKEDITOR.dom.selection.createBoomarks[2]` as required `Object`'s to follow the documentation.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-createBookmarks

* Declare method `CKEDITOR.dom.node.remove` mistakenly named `move` in the typings.

* Declare `CKEDITOR.dom.range.setEnd{Before,After}` in addition to `setStart{Before,After}`.

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-setEndAfter
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-setEndBefore

* Declare some `CKEDITOR.tools`

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-copy
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-isArray
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-override
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-prototypedCopy

* Declare `CKEDITOR.plugins.registered`.

Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.resourceManager-property-registered

* Declare `CKEDITOR.htmlParser.element.addClass` in addition to `removeClass` and `hasClass`.

Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.element-method-addClass

* Declare `CKEDITOR.htmlParser.{element,fragment}.forEach`.

Documentation links:

* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.element-method-forEach
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.fragment-method-forEach

* Coding style: Convert to single quotes and spaces for indentation.

* Make `fileName` parameter of `CKEDITOR.plugins.addExternal` optional.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_plugins.html#method-addExternal

* Make `editable` as a class and declare its constructor.

Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_editable.html#method-constructor
2018-04-16 17:55:15 -07:00
Evan Hahn 23c8bbf227 connect: Add NextFunction for next, fix err parameter (#24883) 2018-04-16 17:45:19 -07:00
Arne Schubert ed43fdd5b7 Enhance definition for heapdump (#24927)
* Enhance definition and according tests for heapdump

* Add changes to fix the CI
2018-04-16 17:43:33 -07:00
Eugene Matseruk 0bab723bac Implement typings for v4.2 of http://idangero.us/swiper (#24898)
- Move typings for v3 to the separate v3 folder
 - Implement typings for v4.2
 - Implement tests for typings
2018-04-16 17:41:11 -07:00
Pine Mizune 228dd564c0 add event-hooks-webpack-plugin (#24998) 2018-04-16 17:40:11 -07:00
Tareq El-Masri bca34de857 [ADD] Typings for wix/detox (#25005)
* [ADD] Wix Detox Types

* [FIX] Detox Definiations lint error

* [FIX] Lint issues
2018-04-16 15:52:31 -07:00
Mtsg 521725e9ab Add type definitions for react-router-param-link. (#25004)
* Add type definitions for react-router-param-link.

* Declare TypeScript version.
2018-04-16 15:51:24 -07:00
Arne Schubert 600f681913 Add type definition for is-ci (#25016)
* Add type defintions for the is-ci package

* Apply settings from generator

* Merge changes from generator

* Set strictFunctionChecks to true
2018-04-16 15:50:56 -07:00
anderswestberg bbca3b76fa Added typings for network-interfaces (#25027)
* Added typings for network-interfaces

* Added typings for network-interfaces

* Corrected build errors
2018-04-16 15:39:06 -07:00
Tomislav Fabeta a67c35269a Type for schema-registry (#25032)
* added schema-registry types

* added few more tests

* cleaned

* removed declare module
2018-04-16 15:38:18 -07:00
Jarom Loveridge 9840f8c2e4 Add types for muri (#25039)
* Add muri types.

* Resolve linting issues.

* Remove unnecessary TypeScript version specification.
2018-04-16 15:35:32 -07:00
Curtis Maddalozzo 57381ed4fe raven: Add definitions for transports (#24918)
* Add definitions for transports

* Fix transport option. Add tests.

* Bump version

* Fix linting error
2018-04-16 15:26:17 -07:00
heroboy 8030410d9b Update three-core.d.ts (#24989)
add `optionalTarget` parameter
2018-04-16 15:25:29 -07:00
ufolux 5c5ffcc7c9 add missing property for ReduxLoggerOptions (#24991)
* add missing property for ReduxLoggerOptions

add titleFormatter property type definition for ReduxLoggerOptions

* fix ci error

fix no-trailing-whitespace error
2018-04-16 15:25:09 -07:00
Mikhail Vasin 080eb8f130 Change TransitionPlainStyle key type to string (#25003)
According to https://github.com/chenglou/react-motion/blob/master/src/Types.js#L56
2018-04-16 15:24:47 -07:00
James C. Davis a7f56fc5ce Add Ember.CoreObject constructor with initial properties arg (#24997) 2018-04-16 15:24:28 -07:00
Keagan McClelland ed2cf925b3 fixed ramda type inference errors (#24942) 2018-04-16 15:24:02 -07:00
lincoln f6c0808e26 update interface (#25014)
* fix bugs with types

* fixed type errors

* more type errors fixed

* fixed errors and added missing type definitions

* fix all typos and added all missing ones

* change inappropriate names

* Updated names to be more accurate.

* adds EnumDWT_ConvertMode to make compatible with the old enum

* Remove type for sync use of ConvertToBase64 which isn't supported for now

* adding new line at the end
2018-04-16 15:23:39 -07:00
Kyle Roach 3d822ec7e6 Remove react-native-collapsible (#25011) 2018-04-16 15:21:28 -07:00
Sasha Koss 3e9fdd529c Fix a signature for @google-cloud/pubsub (#24995)
Fix Publisher#publish signature, so that it returns a promise 
to messageId (string): https://cloud.google.com/nodejs/docs/reference/pubsub/0.18.x/Publisher#publish
2018-04-16 15:19:05 -07:00
Anish Patel af9cce1db3 @feathersjs/authentication-oauth2 - renamed OAuth2Verifier to Verifier to match source package (#25026)
* renamed exported class from OAuth2Verifier to Verifier to match export in @feathersjs/authentication-oauth2 package

* fixed linting
2018-04-16 15:18:47 -07:00
Ferdi Armbruster b74166a772 [@types/heremaps] Adding draggable property to AbstractMarker in heremaps (#25017)
* Adding draggable property to AbstractMarker in heremaps

* Fix jsdoc and optional for draggable property to AbstractMarker in heremaps

* Fix jsdoc description for draggable property to AbstractMarker in heremaps
2018-04-16 15:18:24 -07:00
Edo Rivai 9f0ef7e76e [knex] Enable named bindings in *Raw methods (#25028) 2018-04-16 15:17:54 -07:00
Fabio Berta c78f4617d8 narrow down some types and add more (#25007) 2018-04-16 15:17:14 -07:00
denisname b77a6a04ba Activate strict null check in d3-format (#25015) 2018-04-16 15:16:58 -07:00
Henrik Raitasola 4baec539b7 Add missing argument for Screen (react-native-navigation) (#25022)
* Add missing prop to Screen

* Use new prop in tests
2018-04-16 15:16:21 -07:00
DanRegazzi 9de8070a6b Update type react-toastr: Allow JSX to be used for title and message content. (#24910)
* Updated the typings to allow JSX elements in addition to strings for the toast message content.
Refer to https://tomchentw.github.io/react-toastr/

* Update version number of react-toastr type definition.

* Revert version number to match toastr's version number
Change toast notify functions to use string or ReactNode types explicitly
Revert change to options override type

* ReactNode includes string.
2018-04-16 15:13:56 -07:00
Jakub Řičař b3cea7a6bb Add missing isCustomDate into Settings (#25042) 2018-04-16 15:13:00 -07:00
Vitya fe483b7d27 [@types/grid-styled] unstrict typings for grid-styled (#25024) 2018-04-16 15:12:27 -07:00
Sean Scally 2053e1cb8c Add new RenderProps-style Context from React 16.3 (#24509)
* Add new RenderProps-style Context from React 16.3

React 16.3 has a new recommended API for Context, with new Context, Provider, and Consumer typings.

* Add overload for createContext() to be called with no arguments

* Fix syntax

* Refactor out Props for Consumer & Provider
2018-04-16 13:37:41 +01:00
Florent Cailhol 7f0811ae8e Fix tapable definition (#24996) 2018-04-15 00:05:04 +01:00
AJ Richardson a1ff7a2a7d [lodash] Placeholder support (#24728)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* lodash: add one more NumericDictionary overload for _.get

* lodash: more reasonable index for _.get tests

* lodash: support placeholders for curry

* lodash: add logic for generating overloads with placeholders

* lodash: fix placeholder generation bugs

* lodash: use the original parameter name for placeholder parameters

* lodash: stop generating unnecessary generics

* lodash: move all FP functions into a single file.
Trying to fix memory error in tests.

* lodash: omit comments and useless overloads to make the build work

* lodash: update fp function files

* Fix placeholder definition files

* lodash: add placeholder constants to fp definitions

* lodash: looks like we missed some jsdoc comments.
Let's omit them for consistency.

* lodash: fix build errors
2018-04-14 12:40:40 -07:00
Hugues Stefanski 65622d3c46 D3 geo strict null check (#23794)
* d3-geo strictNullChecks mode:
Allow GeoGeometryObjects type to be null
Check existence of optional mehtods before calling them
Added null to union type or some results of call

* Missing space

* Min TS 2.4 for d3-geo

* Back to TS 2.3

* Added null as acceptable type

* d3-geo : Use of default generic types

* d3-geo : Removed generic type when using default

* d3-geo : fix generic types

* d3-geo : tests with nullable features
2018-04-14 12:37:38 -07:00
Kalle Ott 4ac43f6061 fix for wrong method signature in params of WindowScroller render-prop (#24953)
* typings update to catch up with current version of react-virtualized

* fixed lint errors

* fixed ts version

* fixed void return type of defaultProps functions

* changed interface to type for better consistency

* fixed signature of onChildScroll params in WindowScroller

* Auto stash before merge of "enable-strict-mode" and "master"

* removed unimportant line from test file

* replaced strict with explicit options

* updated TS version

* ts version set to 2.7

* back to ts 2.6

* changed autogenerated relative import to global import
2018-04-14 12:29:21 -07:00
Lukas Senionis 3a647d4f0e [component-emitter] Provide easy access to interface (#24994)
* provide easy access to interface

* declare is not needed
2018-04-14 12:24:56 -07:00
AJ Livingston ffbf344eb0 Add typings for express-ws (#24984)
* Add types for express-ws

* strictFunctionTypes=true

* dtslint compliant

* union types for application and router

* allow https server

* applyTo accepts object

* fix lint error

* applyTo accepts router-like obj

* websocket method returns this
2018-04-14 12:18:11 -07:00
Anderson Friaça a8637a544d Types for JQuery Focusable (#24988) 2018-04-14 12:17:15 -07:00
denisname ee7e9794e0 Extract from topojson (#24992) 2018-04-14 12:16:51 -07:00
Vincent Langlet b4ef220eac Add react-native-keyboard-spacer types (#24993) 2018-04-14 12:13:47 -07:00
Rockson dda14dffe3 Removed Partial from onSubmit values (#24816)
see iss: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24376
2018-04-14 12:12:50 -07:00
howtimeflies.io developers 6df4ebfc1a [highcharts] Add support for word cloud chart and adding/firing events dynamically (#24824)
* Add the missing typings required by @howtimeflies/ngx-highcharts

* Add tests for the new added typings.
2018-04-14 12:12:17 -07:00
Sehrope Sarkuni 7132597ca2 Expand BufferList.append(...) to include BufferList and array params (#24844) 2018-04-14 12:11:54 -07:00