Commit Graph
29350 Commits
Author SHA1 Message Date
Nicholas Simmons e93d87a899 Add koa-helmet type definitions (#16180) 2017-05-03 12:11:34 -07:00
Jared Chapiewsky 297a4960e5 add types for sinon-express-mock package (#16268)
* add types for sinon-express-mock package

* remove sinon-express-mock package.json file
2017-05-03 12:10:12 -07:00
ikokostya 90cd78deeb @types/node: fix dns.lookup() definitions (#15900)
* @types/node: fix dns.lookup() definitions

* fix optional family argument
2017-05-03 12:09:15 -07:00
Pavel Puchkov d1a979d719 Change transaction() autoCallback param type from Blueburd to PromiseLike (#16253)
* Change transaction() autoCallback param type from Blueburd to PromiseLike

* Add promise tests.
2017-05-03 12:07:38 -07:00
Kyle Roach 74818a2559 [react-native] Added BackHandler component (#16302) 2017-05-03 12:07:12 -07:00
Caleb St-Denis 514a27de01 angular - Separate interfaces for each lifecycle hook (#16299)
* Separate interfaces for each lifecycle hook

Having one required hook per interface leads to greater type safety than
having a single IController interface with all properties optional.
Namely, the IController interface will not help you if you misspell a hook
name. (A slight improvement, admittedly, but an improvement nonetheless.)

This is closer to how the typings are done for lifecycle hooks in ng2.

* Use `dtslint`

* Fix trailing whitespace
2017-05-03 12:02:48 -07:00
Lukas Spieß f782f81c7a Update type definition to include changes from Sinon 2.2.0 (#16298)
* Add usingPromise to sinon types

* Add type definitions for sinon's calledImmediatelyBefore/After

* Update types for sinon's resolves() by marking parameter as optional

* Add tslint.json for sinon and fix issues
2017-05-03 12:02:19 -07:00
Dennis Schwartz 02151eb220 Added onFinish function to @types/tape (#16301) 2017-05-03 11:58:52 -07:00
Andy 08b6b892b4 jquery.growl: Add test file and fix types (#16295) 2017-05-03 11:53:59 -07:00
Balazs Erdos 158ea650e5 Add grouped joins (#16294) 2017-05-03 11:53:34 -07:00
Youngrok Kim dd4e450240 [joi] Add missing AnySchema.validate() method (#16291)
* [joi] Add missing AnySchema.validate() method

* [joi] convert indent of joi-tests.ts file to space
2017-05-03 11:46:57 -07:00
Alexandre Hagen beb12dc3ac Fix typings of IProvider for Restangular (#16290)
* Fix types of Provider

* Fix types restangular
2017-05-03 11:46:24 -07:00
Martin Costello ce6ecda5cd Add support for gestureHandling for Google Maps (#16287)
Add support for the gestureHandling property on the MapOptions
interface.
2017-05-03 11:36:44 -07:00
Goh Yisheng (Andrew) da8970e975 Add types for fecha. (#16284) 2017-05-03 11:35:11 -07:00
taoqf 8f7ff04d07 Add type definition for cwise-parser (#16282)
* add weixin-app

* add wx

* add new line at end of file

* tslint wx and wx-app

* fixed test error

* change project name weixin

* rename

* weixin-app Add param this

* change discription of jweixin

* add some Event declaration

* change tslint config
extends dtslint/dt.json

* add defination of ccap, qr-image

* remove redundant jsdoc

* remove doc

* allow overloads

* inline some types

* fix tslint error

* ndarray
add tslint
export like a module style

* ndarray make ndarray as a interface

* ndarray: export type Data

* add defination of cwise-parser

* add type definition for cwise-copiler

* fix tslint error

* add type definition for cwise
2017-05-03 11:10:52 -07:00
hgossler cf786aea6d Add functions for v1.10 (#16281)
- VError.hasCauseWithName
- VError.errorFromList
- VError.errorForEach
2017-05-03 11:09:38 -07:00
Tom Wanzek 5857473cc7 [d3-contour] Add Definitions (#16280)
* [d3-contour] Initialize skeleton

* [d3-contour]
* Initial definitions
* Add DOM to compilation context libraries

* [d3-contour]
* Add JSDoc comments
* Unify `thresholds(...)`-setter signatures which accept generator functions.

* [d3-contour]
* Add tests
* Add additional lint-rule to ignore unified-signatures for now

* [d3-contour]
* Linted.

* [d3-contour] Lint arrow function
2017-05-03 11:09:12 -07:00
Vesa Poikajärvi 2ca5a0e8f4 [bookshelf] Model#orderBy and Collection#orderBy (#16277)
* Bookshelf Model#orderBy and Collection#orderBy

orderBt introduced in Bookshelf 0.9.3

* [bookshelf] orderBy explicit parameters instead of ...args

* [bookshelf] Use a type for sort order
2017-05-03 10:58:47 -07:00
Clément Prévot b794bedb72 Added type definitions for chai-arrays (#16266) 2017-05-03 10:57:45 -07:00
Steve Hipwell 2c0494ee20 Updated restify to lint correctly (#16274)
* Updated restify to lint correctly

* Updated restify request query

* Fixed restify tests error
2017-05-03 10:55:19 -07:00
Steve Hipwell 386630caee Add typings for restify-errors (#16269)
* Added typings for restify-errors

* Fixed restify-errors linting errors

* Updated restify-errors tests

* Fixed restify-errors failing tests
2017-05-03 10:52:01 -07:00
mkools-vg 15e80a6126 Added some strings to the Sys.Res class. (#16265)
Added missing strings: undefinedEvent, eventHandlerNotFunction,
propertyUndefined, propertyNotAnArray, propertyNotWritable
2017-05-03 10:29:52 -07:00
Rogier Schouten d762eaf8a0 Add typings for exceljs (#16263)
* add typings for exceljs

* update to latest definitelytyped standards
2017-05-03 10:21:40 -07:00
Martynas Žilinskas b746bd969d [enzyme] Added missing methods and deprecation warning on method. (#16275)
* Added getNode and getNodes in CommonWrapper w/ tests.

* Added getDOMNode in CommonWrapper w/ tests.

* Added slice in CommonWrapper w/ tests.

* Added tap in CommonWrapper w/ tests.

* Deprecation on isEmpty method.

* Updated dts header.
2017-05-03 07:31:29 -07:00
frodehansen2 455e6bb9c0 react-widgets: Add combobox placeholder (#16288)
* react-widgets: add combobox placeholder

* Add name to definitions by
2017-05-03 07:23:54 -07:00
Daniel Rosenwasser dd48f9475c Merge pull request #16279 from DanielRosenwasser/removeRefsAndProps
Removed inheritance from 'React.Props' as well as explicit 'ref' properties.
2017-05-02 18:02:28 -07:00
Daniel Rosenwasser 550cf1fbea Removed inheritance from React.Props (which is deprecated) as well as explicit ref properties.
TypeScript already includes `ref` properties when necessary through the use of
`JSX.IntrinsicClassAttributes` (which is more or less just an alias of `React.ClassAttributes<T>`
inside of React's declaration files).

Our understanding is that having these declarations caused problems in assignability in
scenarios where the 'ref' key in props were not assignable in odd ways.
2017-05-02 17:24:25 -07:00
Harurow 90b46feda1 add openIcon, closeIcon properties for CardHeader (#16262) 2017-05-02 10:35:23 -07:00
Peter Keuter e0cfd8f75b move query template function to connectionpool (#16260) 2017-05-02 10:34:31 -07:00
Waldo000000 538907bb86 Add initial watson-developer-cloud definitions (#16254) 2017-05-02 10:28:23 -07:00
Ali Taheri Moghaddar c69aadeeb5 [react-grid-layout] Improve typings (#16071)
* Improve react-grid-layout typings

* Fix lint errors
2017-05-02 10:12:27 -07:00
Martynas Žilinskas 8070c2338e Updated readme. Added that definition by can be multiline. (#16276) 2017-05-02 10:02:11 -07:00
Lauri Lavanti 4baa153d2c (#16189): Add LocationChangeAction to react-router-redux (#16252) 2017-05-02 09:29:14 -07:00
taoqf 31e2829a1b export Data from ndarray (#16251)
* add weixin-app

* add wx

* add new line at end of file

* tslint wx and wx-app

* fixed test error

* change project name weixin

* rename

* weixin-app Add param this

* change discription of jweixin

* add some Event declaration

* change tslint config
extends dtslint/dt.json

* add defination of ccap, qr-image

* remove redundant jsdoc

* remove doc

* allow overloads

* inline some types

* fix tslint error

* ndarray
add tslint
export like a module style

* ndarray make ndarray as a interface

* ndarray: export type Data
2017-05-02 09:28:49 -07:00
Ruslan Arkhipau 5d7df036b2 [grecaptcha] Add type definition for invisible recaptcha (#16247)
* Update `ReCaptchaV2.Parameters` to include new optional parameter `badge`

* Add `ReCaptchaV2.Badge` type to hold allowed values for `ReCaptchaV2.Parameters.badge`

* Update `ReCaptchaV2.Size` type to include `"invisible"` value as valid

* Add `tslint.json` file to grecaptcha

fixes #16245
2017-05-02 09:27:52 -07:00
Andy a2bcaaff82 to-markdown: Lint and add strictNullChecks (#16272) 2017-05-02 08:46:01 -07:00
Dolan 1ee58c5114 Archiver update from 0.15.0 to 1.3.x (#15894)
* archiver clean up and updated version

* added tslint.json

* added back in create because it still works. Updated examples

* fixed listing issues

* fixed more linting issues

* added glob options and EntryData

* added more to tests

* fixed tests by returning this, instead of void

* removed whitespace

* Add node types import

* Keep original author
2017-05-01 17:08:44 -07:00
taoqf 18e3ce9627 improve defination of ndarray (#16169)
* add weixin-app

* add wx

* add new line at end of file

* tslint wx and wx-app

* fixed test error

* change project name weixin

* rename

* weixin-app Add param this

* change discription of jweixin

* add some Event declaration

* change tslint config
extends dtslint/dt.json

* add defination of ccap, qr-image

* remove redundant jsdoc

* remove doc

* allow overloads

* inline some types

* fix tslint error

* ndarray
add tslint
export like a module style

* ndarray make ndarray as a interface
2017-05-01 17:07:41 -07:00
Tom Wanzek 5ff63bda5e Add d3-sankey Definitions (#16051)
* d3-sankey:
*  Initial incomplete draft of definitions (see TODOs) In particular issue with circular definitions given the source code approach to mutating nodes and links.
* Added tsconfig and tslint.

* Added initial draft of shape tests
* Subject to addressing SankeyNodes/SankeyLinks circularity in definitions
* Fixed return types of nodes() and links() to reflect source code rather than API Doc.

* Use intersection types to avoid circularity
* Using intersection types avoids running into the circularity issue with the generics driving SankeyNode an SankeyLink

* Refine SankeyLinkPathGenerator tests.

* Add interface tests for SankeyNode and SankeyLink

* Complete comments. Add one pathGen test.

* Fix lint errors.

* semicolon.

* Updated some comments.
* Some comments were updated to reflect the comments used in PR 23 to the d3-sankey repo

* Fix typo. Thx @gustavderdrache .

* Add Co-Maintainer
2017-05-01 16:46:04 -07:00
sebek64 48d4027255 fix(leavlet.awesome-markers): typo in color name (#16205)
* fix(leavlet.awesome-markers): typo in color name

* fix(leaflet.awesome-markers): change github project link

 - it seems that this one is actively developed
2017-05-01 16:36:36 -07:00
Amir.h Yeganemehr 876b72a0c7 Create definitions for jquery.growl (#16055)
* add jquery.growl definition

* Fix Travis CI checks
2017-05-01 16:35:16 -07:00
Tairan Wang a3947c3eaa add type for "react-weui" (#16044)
* add type for "react-weui"

* fix ci issue

* fix dtslint issue
2017-05-01 16:34:52 -07:00
bryanjjohnson d9be5adccd update for mapbox-gl to v0.35.1 (#16005)
* update for mapbox-gl to v0.35.1

* fix to mapbox-gl update
2017-05-01 16:30:55 -07:00
Vaclav Novotny 8279081781 modified jQuery.on({ [events: string]: handler }) so it resolves handlers as JQueryEventHandlers. (#15979) 2017-05-01 16:30:34 -07:00
Alexander a6550043d9 Added definitions for to-markdown (#15875) 2017-05-01 16:23:29 -07:00
Severin faaec1416d Updating template function defintion (#15936)
* Updating template function defintion

As mentioned [here](https://github.com/seveves/ng2-vis/issues/32) there is a problem with the definition of the template functions. We really should allow any as a return value because you can return a string, Handlebars, mustache or even react templates. As you can see [here](http://visjs.org/docs/timeline/#Templates) the template function always has three parameters. I made them optional because you don't have to use them at all.

* Using fat arrow syntax

I think this is the right way to do it.

* Fix lint error
2017-05-01 16:04:51 -07:00
Manuel Francisco Naranjo cfa517b96e Bleno TypeScript definition added (#15656)
Adding definition and required test for compliance for Bleno library.
2017-05-01 15:55:25 -07:00
Matthias Dailey 7a49d23bc5 Add openlayers version 3.x (3.20) (#15923) 2017-05-01 15:53:28 -07:00
Robin Ward b0a3133229 Ember: Missing optional parameter for Ember.Helper.helper function (#16250)
Currently, the second `hash` parameter to the closure is not supported,
even though it's used in the Ember Documentation for the method:

https://github.com/emberjs/ember.js/blob/v2.12.0/packages/ember-glimmer/lib/helper.js#L110-L114

I confirmed in the latest version of Ember.js that this `hash`
parameter works, so I believe the types should be updated to
support it.
2017-05-01 15:43:32 -07:00
Mikal Madsen ea345679fb Add Recase typings (#15744)
* Add Recase typings

* Add relaxed-json type definitions

* Update Recase and Relaxed-JSON types as per PR review

* Update Recase and Relaxed-JSON types
2017-05-01 15:19:16 -07:00