Commit Graph
35880 Commits
Author SHA1 Message Date
Louise Bicker Caarten 86aefa7ce6 Allow Filepath (String) To Json Schema In Convict Constructor (#20274) 2017-10-04 22:27:59 +09:00
Michael A. Volz (Flynn) a0c42fa0c2 Fixed type for clearConsole to be boolean (#20276)
Using false would result in an error.
2017-10-04 22:27:14 +09:00
Mark Line 0840a8fe71 Add clientProperties object to ConnectionOptions (#20277) 2017-10-04 22:26:54 +09:00
Ben Gladman d06df01e3c More expressive type definition for Bluebird.method (#20279) 2017-10-04 22:26:08 +09:00
Glen M 601ac7b620 Support Atom v1.21. Remove Electron dependency. (#20282) 2017-10-04 22:25:09 +09:00
Josh Goldberg a3f56c28fa Added | null to error types in callbacks (#20265)
I'm guessing these haven't been updated since strictness was introduced.
2017-10-04 22:23:08 +09:00
Nathan Shively-Sanders 390670c0a7 Merge pull request #20219 from DefinitelyTyped/fix-for-strictFunctionTypes
Strict function variance fixes
2017-10-03 15:53:41 -07:00
Nathan Shively-Sanders b0dec6bc6b Merge branch 'master' into fix-for-strictFunctionTypes 2017-10-03 15:28:20 -07:00
Nathan Shively-Sanders e953d0f886 Merge pull request #20235 from DefinitelyTyped/angular-tests
angular: Fix tests
2017-10-03 15:26:21 -07:00
Nathan Shively-Sanders 32ae9f623b Fix test failures 2017-10-03 13:43:36 -07:00
Nathan Shively-Sanders ba5a8c2243 Merge branch 'master' into fix-for-strictFunctionTypes 2017-10-03 13:05:23 -07:00
Nathan Shively-Sanders d78961bad9 Fixes from PR and Travis runs 2017-10-03 12:47:22 -07:00
Samphan Raruenrom 4d92879256 Fix bug from different definition of ObjectID (#20095) 2017-10-03 11:21:53 -07:00
Margus Lamp a2c18a27e0 @types/ws @types/aws-iot-device-sdk @types/json-rpc-ws WebSocket.ping/pong input fix, synced options, lint fixes (#20108)
* * Renamed WebSocket.ping and WebSocket.pong argument dontFail (very confusing) to failSilently as it's in ws package
* WebSocket.close accepts data as string only

* * Lint fixes, updated types

* Fixed aws-iot-device-sdk + json-rpc-ws
2017-10-03 11:20:05 -07:00
Bernd 54d59cdbad add types for H.geo.PixelProjection (#20105) 2017-10-03 11:19:11 -07:00
Matt Traynham 65936d2e4e Add mime to karma Options (#20144)
* Add mime to karma Options

* Update karma version to 1.7
2017-10-03 11:15:34 -07:00
Sami Kukkonen 11033eb36a Add declarations for duplexify 3.5 (#20188)
* Add declarations for duplexify 3.5

* Import duplexify with import..require statement
2017-10-03 11:14:13 -07:00
Leo Liang 66e7e2e2da Add typings for cls-hooked (#20154)
* Add typings for cld-hooks

* Rename NameSpace to Namespace
2017-10-03 11:06:35 -07:00
Pasi Eronen 1fcbed38d7 connect-pg-simple: add types (#20109)
* connect-pg-simple: add types

* connect-pg-simple: PGStoreOptions should be optional

* connect-pg-simple: add close and pruneSessions methods

* connect-pg-simple: use correct import form in tests
2017-10-03 11:04:10 -07:00
Alexey Morozov a6954cc035 Add declarations for 'sparqljs' (#20226) 2017-10-03 11:03:30 -07:00
kato takeshi 64ea75d1c8 fixed arguments definitions of WorldUVGenerator's method in three-core (#20172)
* fixed arguments of WorldUVGenerator's method

* fixed type of arguments

* added missing space.
2017-10-03 10:44:22 -07:00
Alexey 42b2a4c53e Added local and volatile flag for socket.io SocketIO.Server interface (#20199) 2017-10-03 10:29:22 -07:00
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
Andy Hanson 56c69546dd angular: Fix tests 2017-10-03 07:28:01 -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
Nathan Shively-Sanders b8ea87c68e Strict function variance fixes round 1 2017-10-02 15:50:34 -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:
https://github.com/FormidableLabs/victory-core/blob/e28d4b81eaa0b303d88d7c3124aec4c77d8c9970/src/victory-util/default-transitions.js#L5
https://github.com/FormidableLabs/victory-core/blob/e28d4b81eaa0b303d88d7c3124aec4c77d8c9970/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