Commit Graph

35856 Commits

Author SHA1 Message Date
rapmue
2ff4dff832 [aws-iot-device-sdk] combine multiple signatures (#20229)
* [aws-iot-device-sdk] combine multiple signatures

In order to use different signatures, I suggest  to combine multiple functions to one, with the different parameter types as a list.

* added a test

Added a test for thingshadow subscribe. The test only covers the error which happened before when using a subscription with a string.
2017-10-03 10:28:44 -07:00
teroarvola
a380b02379 Fixed erroneous property and return types in @types/sharepoint SocialPostCreationData (reference: https://msdn.microsoft.com/en-us/library/office/jj679685.aspx) (#20230) 2017-10-03 10:28:13 -07:00
rapmue
46f1650f0c [auth0-js] Make options optional in authorize (#20107)
Since everything in `AuthorizeOptions` is optional and in the docs they are using authorize from `WebAuth` without any options, it should be possible to leave them out.
2017-10-03 10:27:45 -07:00
Eloy Durán
6638aa9d6b Merge pull request #20225 from simontreny/master
[react-native] Fix type of NativeSyntheticEvent.timeStamp
2017-10-03 11:26:40 +02:00
Simon Trény
33844ff8a5 Fix type of NativeSyntheticEvent.timeStamp 2017-10-03 09:59:31 +02:00
Max Battcher
958ccb60c6 Simplify PouchDB Attachments interfaces (#20213)
Make a cleaner separation between Stub attachments and non-Stub attachments (here called FullAttachment). New Attachment is then the union type of StubAttachment and FullAttachment. Renamed the previous Attachment to AttachmentData to better reflect what's it purpose is. (Would love to make it more generic, but there's not a great way to key off of `{ attachment: true, binary: true }` in the options stacks right now.) Remove PutAttachment because it now better handled by FullAttachment. Furthermore, you can db.put StubAttachments when round-tripping documents, so PutAttachment was too strict. Added simple round-trip tests to avoid that strictness problem moving forward.
2017-10-02 20:40:05 -07:00
Andy
5235261b56 baidumap-web-sdk: Add tsconfig options required by dtslint (#20208) 2017-10-02 16:19:47 -07:00
Steven
e54b30fafc react-dom: Upgrade to v16.0.0 (#20065)
* Add hydrate method

* Add hydrate to react-dom-tests.ts

* Fix whitespace

* Create shared interface for `render` and `hydrate`

* Add renderToNodeStream and renderToStaticNodeStream methods in ReactDomServer

* Add proper nodejs.readablestream

* Add react-dom v15 for backwards compatibility

* Add proper baseUrl for react-dom/v15

* Change react test _interval type to NodeJS.Timer

* Export the renderer interface

* Change react/v15 to use NodeJS.Timer
2017-10-02 16:08:01 -07:00
Seth Westphal
2fba16f44b Add OpenTok Archive layout options. (#20218)
* Add OpenTok Archive layout options.

* Fix styesheet type.
2017-10-02 15:11:46 -07:00
Andrew Goodale
2233a0eee6 Allow projects to use React declarations without the DOM lib dependency. (#20005) 2017-10-02 15:06:51 -07:00
segayuu
65c3042950 [bluebird] Added tslint.json. (#19816)
* Added tslint.json

* Merge commit from source fork (#2)

* Add setVisible to iFrame control

* Initial API without namespaces.

* Did more work on typings.

* Final changes to the typings.

* add className prop and make manager prop optional

* [jquery.fancytree] added enableUpdate method (reference http://www.wwwendt.de/tech/fancytree/doc/jsdoc/Fancytree.html#enableUpdate)

* Fix typo (any -> all) for everyWhere description

* Minor Pixi.js updates to v4.5.5

* mfiles: Added missing CLSID constants

* Reduce strictness of types for redux actions to reduce false positives

* Set required tsc version for depended package

* Update to index.d.ts

Added change suggested by @pocesar

* Updated test to reflect remote changes

Second class, remoteBool to test for remote is boolean

* mfiles: Added support for application platform property

* bootstrap-datepicker - append all available datepicker events

* Update Ignite UI typing definition according the latest 17.1 build

* Added 'static' to Model.remoteMethod
Integrated the remoteMethod ideas from https://github.com/Sequoia/loopback-type-definitions/blob/master/loopback.d.ts into the existing type
Improves remoteMethod composition and checking.  No impact on other types

* add lost options member add comments

* Updating comment in remoteMethod JSDoc
Added simple test for remoteMethod

* Fixing dtslint issues

* Fixed errors from running tests. Travis CI should pass now

* Updated test example with real parameters

* update ColorWrap types

* change type name

* feat(prettier): update to version 1.7

* [angular-strap] updated all options to 2.3.8

* [angular-strap] added tslint and resolved linting issues

* Remove moved file

* Add separate process event contexts

* export all interfaces from pdfjs-dist

* Fix lint errors

* Typo fix

* Add editorState param to event handlers

* Fix parse_response type and use lookup type

* Change stage direction to proper case

* [react-data-grid] Added openCellEditor signature to ReactDataGrid instance

* Add remaining missing Xrm.Page.data.process methods

* Add new label type for X/YAxis

* Add contribution name

* Update definitions for @types/angular-loading-bar to be accurate

* Formatting update

* Adding type for the function instead of just Function

* Adding a test

* Try to fix tests for angular-loading-bar types

* feat(react-native-elements): pull from iRoachie

* Update Label type

* Support multiple colors / styles

Winston supports configuring multiple styles rather than a single color.  For example you could winston.addColors( { error: ['white', 'underline', 'bgRed'] });

* feat(react-native-element): add multiple components

The work is not yet completed, however there are several components provided and the rest will be completed in the next few days.

* fix(react-native-elements): unneeded breaking imports

* Update d3-geo to version 1.7.1
Includes geoNaturalEarth1 and geoNaturalEarth1Raw

* Type definitions for react-mce 0.6.

* Use generic defaults.

* Reduce TypeScript version to 2.3

* feat(react-native-elements): add rating component

* feat(react-native-elements): add SearchBar component

* webpack: improve loader context typings
emitError() and emitWarning() both can accept an Error as well, for exposing caught Errors.
See: https://github.com/webpack/webpack/blob/master/lib/NormalModule.js#L115

Added relevant type tests.

* fix: do not make use of es6's Map and Set

this should fix #16587

* feat(react-native-elements): add SideMenu component

* feat(react-native-elements): add Slider component

* feat(react-native-elements): add SocialIcons component

* feat(react-native-elements): add SwipeDeck component

* feat(react-native-elements): add Tabs component

* feat(react-native-elements): add Tile component

* feat(react-native-elements): add utility exports

* docs(react-native-elements): remove deprecated message

* first pass at the electron-winstaller declaration

* lint

* Adding definitions for prosemirror-table

* Added minArea to DragBoxOptions (https://openlayers.org/en/latest/apidoc/ol.interaction.DragBox.html)

* added minArea to test

* Remove myself from list of maintainers

* stripe-v3: Add basic typings for createSource method

* stripe-v3: Lint SourceOptions

* stripe-v3: Conert tabs to spaces

* Add ChartFontOptions to global Chart.js options

* angular-ui-router: Can't export a string literal (#19839)

* angular-gridster: Can't export a string literal (#19842)

* react-router/v2: Fix default export of object (#19849)

* history/v2 and /v3: Fix export default of object (#19847)

* Add definitions for W3C Web USB API

* logat: Fix export (#19848)

* adal: Fix export style (#19838)

* strophe: Fix export (#19850)

* express-brute-mongo: Fix export (#19851)

* argparse: Remove unnecessary type parameters (#19843)

* Support conditional values in Vega

* Add onLoad animation configuration

Alluded to here in documentation:

https://formidable.com/open-source/victory/docs/victory-stack

Code references:
e28d4b81ea/src/victory-util/default-transitions.js (L5)
e28d4b81ea/src/victory-util/default-transitions.js (L19)

* Fix restify declarations to comply with standard lint rules.

This change requires TypeScript 2.2 because the type
'object' did not exist in 2.1.

* hopscotch

small fixes, no breaking changes

* fix typo

fix typo

* bull: added missing method "promote" from bull v3 to typings

* Minor fixes from review

* stripe-v3: Lint

* types for tabulator

* Ramda: disable no-unnecessary-generics (#19785)

* fixing tests

* adding more test

* Merge PR #19726: [react-data-grid] Added getValidateFilterValues signature to GridProps

* [react-data-grid] Added getValidateFilterValues signature to GridProps

* Add resizerClassName

* More verbose definition for pathOr

* strictNullChecks: true
2017-10-02 15:05:45 -07:00
Samer Albahra
563022d9a6 Add Intercom Web API Typings (#20200)
* Add Intercom Web Typings

* Fix definitions URL
2017-10-02 14:51:37 -07:00
Bradley Ayers
13cd8f2c5c Add pg-ears 1.0 (#20152) 2017-10-02 14:50:33 -07:00
Matt Traynham
91c21b794a Updating webpack-merge to v4 (#20136) 2017-10-02 14:49:43 -07:00
Roy Xue
a2f96b65de [react-table]Add react-table (#20122)
* Add react-table

* Remove readme from project link

* Change string type
2017-10-02 14:48:43 -07:00
Dasa Paddock
e1de492381 [arcgis-js-api] Update for version 4.5 (#20139)
* Update for ArcGIS API for JavaScript version 4.5

* Set TypeScript Version to 2.3
2017-10-02 14:33:37 -07:00
Dasa Paddock
8871815151 Update for ArcGIS API for JavaScript version 3.22 (#20138) 2017-10-02 14:32:19 -07:00
Tommy Nguyen
73c50882bf Platform.select to allow any PlatformOSType as key. (#20207) 2017-10-02 14:26:48 -07:00
Tommy Nguyen
75d1bec99d Add macos to PlatformOSType. (#20206) 2017-10-02 14:25:46 -07:00
rapmue
b743589ef9 [recharts] changed the signature of tickformatter (#20201)
Changed the signature of tickformatter function.
The changes are based on the issue #19756.
2017-10-02 14:25:27 -07:00
Oren Farhi
69af3a040e update "thumbnails" property for GoogleApiYouTubePlaylistResource (#20078) 2017-10-02 14:24:28 -07:00
Dibyo Majumdar
2717cfa52c [react-redux] Add createProvider (#20052)
* Add ConnectFunction interface

* Add createProvider function declaration

* Add documentation for createProvider

* Update documentation for Connect

* Add new author

* Add test for createProvider
2017-10-02 13:10:11 -07:00
Jesús Iglesias
9764208729 Fixes #19714. Webdriverio issue (#20040) 2017-10-02 13:09:11 -07:00
nickmorton
bfafb5ffc6 [swaggerize-express] Add RequestHandler array to RouteSegment i/f (#20001)
* Added RequestHandler array to RouteSegment i/f

Also replaced a couple of String declarations with string.

* Removed spread operators to downgrade to TypeScript 2.0
2017-10-02 13:05:32 -07:00
Andy
aeea74dbb6 sencha_touch: Make type of getScrollable() match interface (again) (#20211) 2017-10-02 13:01:04 -07:00
Andy
bd863e9ed2 i18next/v2: Fix lint (#20212) 2017-10-02 13:00:54 -07:00
Jan Bevers
509cff841c Added typings for redux-first-router-link (#20104) 2017-10-02 12:31:25 -07:00
Matt Traynham
00356e86fa Add types for duplicate-package-checker-webpack-plugin (#20141) 2017-10-02 12:30:01 -07:00
Matt Traynham
e7819a5f5a Add type definitions for webpack-node-externals (#20143) 2017-10-02 12:26:40 -07:00
Matt Traynham
d21b17c876 Add type definitions for karma-webpack (#20140) 2017-10-02 12:22:33 -07:00
Matt Traynham
4603024201 Add type definitions for webpack-chunk-hash plugin (#20145) 2017-10-02 12:21:31 -07:00
smhxx
ab5cdaf0ac Add type definitions for atom/node-oniguruma (oniguruma on npm) (#20149) 2017-10-02 12:18:17 -07:00
Matt Traynham
f12f41e198 Add dts-generator types (#20137) 2017-10-02 12:14:44 -07:00
Samer Albahra
354d5b31f3 Add typing for LocalizeJS Library (#20098)
* Add typing for LocalizeJS

This adds the library typings for LocalizeJS

* Add private to `package.json` for Travis testing

* Remove conflicting files from typing

* Fix all lint errors

* Rename `LocalizeJS` to `LocalizeJS Library`
2017-10-02 11:51:21 -07:00
Anders E. Andersen
31cc4f3c73 @types/node-red New set of types for Node-RED node creation api. (#20167)
* Basic node creation api

* Tests and fixes

* Minor linting fix
2017-10-02 11:35:22 -07:00
Matt Perry
86c522c132 Add type definition for react-truncate (#20181) 2017-10-02 11:34:10 -07:00
Alessandro Vergani
06354d6382 Add restling support (#20187) 2017-10-02 11:29:52 -07:00
Shenghan Gao
f3bcbc1a9d fix a type on amqp (#20091) 2017-10-02 11:09:16 -07:00
Cassey Lottman
e7b3ad2f1c Add missing pie chart options to Chartist (#20118)
* add missing pie chart options to Chartist

* missing comment

* update donutwidth

* add to maintainers

* modify the right file

* add back candle chart

* fix spacing?

* fix export
2017-10-02 11:09:01 -07:00
Bradley Ayers
c56a4da185 Add apollo-codegen (#20119) 2017-10-02 11:08:22 -07:00
Jay Anslow
c9c62c89b9 Add react-treeview types (#20121) 2017-10-02 11:07:27 -07:00
Bradley Ayers
819ca3d98f Add zapier-platform-core 3.1 (#20123) 2017-10-02 11:06:59 -07:00
Wang Guan
efdab6c1d9 PDFKit: complete interface of color / winding-rule (#20069)
- add 2 color forms: [R, G, B] or [C, M, Y, K]
- constrain possible value of winding rule
- add missing overloads of fill / fillAndStroke
2017-10-02 10:43:17 -07:00
Kevin Greene
9a30fc6a19 [thrift] Update Thrift types for completeness and correctness (#20088)
* [thrift] Update Thrift types for completeness and correctness

  * This adds all of the missing public exports from "thrift"
  * Correct error in evernote using import * as Thrift from 'thrift'. This should be
    import { Thrift } from 'thrift'. They were using Thrift.TException which is not
    exported from the top level of 'thrift'. It is nested in the Thrift namespace.

* [thrift] Add WSConnection to Thrift types

* [thrift] Loosen types for transport constructors

  * Transports will create Buffers if their constructors do not receive them.

* [thrift] Removing some ugly interface constructors in favor of classes

* [thrift] ConnectOptions should take a constructor for transport and protocol

  * Adding tests for the above
2017-10-02 10:42:40 -07:00
Glen M
dad4c42dd7 Update the Atom type definitions. (#20146)
* Update the Atom type definitions.

* Atom: support additional dtslint rules. Minor fixes to definitions.

* Atom: enable unified signatures for dtslint.

* Atom: fix the scan and replace functions. Enable ban-types in dtslint.

* Atom: enable no-declare-current-package and no-single-declare-module.
2017-10-02 10:41:57 -07:00
Roberto Robles Fernández
63834a2d2b Cookie interface don't inherit from RawResult, only the Cookie responses (#19998)
http://webdriver.io/api/cookie/setCookie.html
https://github.com/SeleniumHQ/selenium/blob/master/cpp/iedriver/BrowserCookie.cpp#L23
2017-10-02 10:40:44 -07:00
RalfNieuwenhuizen
515573deb9 Update index.d.ts (#20025)
Add IOSBackgroundTask to config options
2017-10-02 10:40:25 -07:00
ccodin
3879a43f4a Add missing 'cookie' property in nano declaration file (#20106) 2017-10-02 10:39:16 -07:00
Honza Břečka
49f1f3aeeb ramda: fix prop function definition (#20099) 2017-10-02 10:39:01 -07:00
Alex Brick
33a325efc8 [superagent] Improving the typing of the #field method (#20102)
There are two major changes here:

1) The value of a field no longer needs to be a string. It also
accepts arrays, buffers, blobs, streams, and booleans.

2) You may pass in an object, which sets all of the field values,
instead of calling once for each field.
2017-10-02 10:38:38 -07:00