Commit Graph

35890 Commits

Author SHA1 Message Date
Ashish Gaurav
53ad6b825c [dygraphs] Update legend option type (#20260)
* [dygraphs] update legend option

- add `never` to list of allowed string values for `legend` option
- ref: http://dygraphs.com/tests/legend-values.html

* [dygraphs] version update

- to publish new @types/dygraph package on npm

* [dygraphs] Updating comment for legend option

- adding comment for 'never' legend style.

* [dygraphs] correcting author url
2017-10-04 07:14:44 -07:00
Windson Yan
b60783a6ef Fix the parameter list of blend method, accept dodge instead of dogde (#20129) 2017-10-04 22:47:14 +09:00
wagich
ed00ecbde0 accepts null as array value when settings slider value (#20132) 2017-10-04 22:45:41 +09:00
Pete Vilter
9586525670 Add dagre-layout (#20257)
Types and tests copied from `dagre`, since `dagre-layout` is a drop-in
replacement for it.
2017-10-04 22:43:18 +09:00
Steve Hipwell
a2814c8188 Add definitions for koa-logger-winston (#20278) 2017-10-04 22:41:40 +09:00
vvakame
a0f2dd8c06 Merge branch 'mseefelder-master' 2017-10-04 22:34:36 +09:00
vvakame
6524981881 fix indent 2017-10-04 22:34:11 +09:00
vvakame
4ef4a64748 Merge branch 'master' of https://github.com/mseefelder/DefinitelyTyped into mseefelder-master 2017-10-04 22:32:18 +09:00
Tyrone Dougherty
c29891901e Define the methods on the loading bar provider in angular-loading-bar (#20220)
* Allow @types/angular-loading-bar to export a string name for angular module inclusion

* Add in the methods for @types/angular-loading-bar and fix the tests
2017-10-04 22:28:31 +09:00
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
Marcos Seefelder de Assis Araujo
a204a9cb02 [types/three] Added missing definitions to three-core.d.ts
Added multiply, premultiply and multiplyMatrices to Matrix3 class on three-core.d.ts. These were already present on Matrix4, just copied over and adapted code.
2017-10-03 14:52:07 -03: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:
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