Commit Graph
30224 Commits
Author SHA1 Message Date
Tom Wanzek 9f5858caef [d3-geo/d3-contour] Chores (#16324)
* [d3-contour] [Chore] Add contributor

* [d3-geo] Chore and Preparation for strictNullChecks
* [Chore] Change geoJSON to module import
* [Chore] Update return type signatures for `geoPath(...)` invocation. For the time being split the signatures for rendering to svg vs canvas. The return type for rendering is changed to `string | null`. This change corresponds to the comitted PR 98 in the d3-geo repo. The behavior and the definitions are now harmonized with d3-shape generators like `arc(...)`.

* [d3-contour] Update test to reflect `geoPath` change.
2017-05-04 12:58:02 -07:00
Fred K. Schott 1b37b86896 update types for launchpad@v0.6.0 (#16308)
* update types for launchpad@v0.6.0

* cache current v0.5 types in subfolder

* Revert "cache current v0.5 types in subfolder"

This reverts commit 24bcd8aaba93c24fb6a135b5ae65aee0b793fde0.

* add version info to launchpad header
2017-05-04 12:13:54 -07:00
Nam Nguyen Thanh 7c0fb318b5 [FullCalendar] Removing allDay parameter in dayClick function (#16164)
* Removed allDay parameter

* Updated test for dayClick function

* Removed trailing whith space
2017-05-04 12:12:36 -07:00
Hendrik Schaeidt 4425d3444e jest: add missing defintion for jasmine default timeout interval (#16314) 2017-05-04 11:53:01 -07:00
ncipollina 09f5d9e0e7 Added pet-finder-api definitions. (#16319)
* Added pet-finder-api definitions.

* Fixed array issue.
Added whitespace to test file.
2017-05-04 11:51:03 -07:00
arogg 8ca6422725 add hsl() to types/color (#16322) 2017-05-04 11:48:50 -07:00
Chaz Clark 997f2064c8 Add response argument to verifyCallback handler
This is provided by Recaptcha upon successful verification.
2017-05-04 14:46:00 -04:00
Alan Agius 58496e097b Feature/lodash decorators (#16064)
* feat(lodash-decorators): update types

* feat(lodash decorators): update typyings

* add typescript support version

* style(lodash-decorators): fix lint issues
2017-05-04 11:45:09 -07:00
Vyacheslav e5d4764dbc Create definitions for markdown-it-container (#16313) 2017-05-04 09:54:52 -07:00
Wayne Dela Cruz 56ce2fe50d DropdownItem onclick should be callback (#15926)
* React CSSProperties position made specific

* Add test for css position

* DropdownItem onClick is callback

DropdownItem onClick was an event. It should be a callback function

* Test DropdownItem onClick definitions
2017-05-04 09:53:01 -07:00
Joseph Hain fd008d7f76 Add react-flip-move type definitions (#16309) 2017-05-04 09:52:41 -07:00
liam-goodacre-hpe 1550dfd1b8 Ramda - Fix typing of assoc, objOf, and transpose (#16091)
* Fix typing of assoc, objOf, and transpose

* Bump language version for Ramda
2017-05-03 17:18:14 -07:00
Andy 43d498dfa2 Remove destructuring in signatures (#16307) 2017-05-03 15:31:34 -07:00
Rafael 9c78cc64c2 Added type definitions for multer-gridfs-storage (#16304)
* Added type definitions for multer-gridfs-storage

* Fixed testing errors

* Fixed compatibility issues with Typescript 2.0
2017-05-03 14:58:53 -07:00
MNB 265cfa66de Add exports to inerfaces (#16122) 2017-05-03 14:55:55 -07:00
Gyusun Yeom 265397ccd3 add missing options for tmp & lint (#16138)
* add missing options

* add tslint

* fix lint error
2017-05-03 14:49:18 -07:00
Eric Eslinger cc56f233d4 select is optional here (#16157) 2017-05-03 14:28:14 -07:00
Wyatt Hou 5fcbda7c01 babylon.parse return File not Node (#16163) 2017-05-03 14:27:05 -07:00
frnkclsst 468f9a4aed Update index.d.ts (#16172) 2017-05-03 14:24:49 -07:00
Johan Nordberg d5124f0eaf Add missing binaryType property (#16181) 2017-05-03 14:15:25 -07:00
Mike Cook 1a608e05d8 Remove path-to-regexp and add koa-route definitions (#16220)
* Add type definitions for koa-route

* Not needed: path-to-regexp

* Change path-to-regexp asOfVersion to ^1.7.0

* Revert "Change path-to-regexp asOfVersion to ^1.7.0"

This reverts commit 0452ebe8033ef9de3c084f4ef3366f63e351af6e.

* Change path-to-regexp dependency to ^1.7.0
2017-05-03 14:11:22 -07:00
jab 74c1a01436 fix incorrect case/type of primitives (#16306) 2017-05-03 14:10:05 -07:00
Vesa Poikajärvi d93d6a53a4 [bookshelf] fetchAll supports same parameters as fetch (#16170)
* fetchAll supports same parameters as fetch

Latest Bookshelf's instance.fetchAll calls collection.fetch() with
given options, ie. it supports the same options than fetch.

For example

(new User).fetchAll({columns: ['id', 'name']}).then(...)

* Update version number

* Revert "Update version number"

This reverts commit cf4a3e6c51554d75f5408acd23bb0fade6acafef.

* remove extra slash from contributor's name
2017-05-03 13:19:42 -07:00
Lukas Spieß 5ddccbbc61 Fix sinon's usingPromise return type definition (#16305)
* Fix sinon's usingPromise return type definition

* Fix alignment according to new dtslint rule
2017-05-03 13:19:31 -07:00
Jerome Touffe-Blin d27680e385 koa-jwt: fix secret option can be a function (#16086) 2017-05-03 13:17:32 -07:00
charlesrey 99206f1ccc Added the shouldCancelStart function (#15947)
To the SortableContainer props.
2017-05-03 13:15:51 -07:00
plgregoire d48daa410e element-resize-event: Add definition for the unbind method (#16202)
* Match version 2.0.7

* Match version 2.0.7

* Match version 2.0.7

* update library version
2017-05-03 13:12:01 -07:00
Christopher Cortes f5d1b56f76 angular-material: fix wrong "ng" namespace in some types (it should be "angular") (#16204)
This caused a TSC error: "TS2503:Cannot find namespace 'ngr'". Replaced "ng" by "angular" in some places.
2017-05-03 13:11:27 -07:00
DABH ae6e2cfd61 Winston: Fix timestamp type signatures (#16213)
* Winston: Fix timestamp type signatures

* Update Winston tests to reflect updated type for timestamp
2017-05-03 13:07:40 -07:00
Xiao Ling 364a884c95 Added dwt (#16259)
* Dynamic Web TWAIN

* Added Header

* Update

* strip BOM

* Fixed type error. Added typescript version.

* Added tslint.json

* Updated tslint.json
2017-05-03 12:56:53 -07:00
Ben Dixon 80a97327cc fixing react-joyride typings for v1.10.1 (#16278)
* fixing react-joyride typings for v1.10.1

* fixing index header to match expected format

* Flatten author names

* re-adding deprecated methods and marking them as private
2017-05-03 12:55:37 -07:00
Joonas Javanainen b4da397a4f baconjs: doLog accepts a label, use PromiseLike in fromPromise (#16292)
* doLog accepts a label

* Use PromiseLike instead of Promise in fromPromise functions

Bacon accepts Promises/A+ -compatible promises that have just the .then
function, so the full Promise type is not actually required.

This also removes the need for the JQueryXHR special case, because
JQueryXHR is compatible with PromiseLike.

* Restore JQueryXHR special case to fromPromise

With strictNullChecks JQueryXHR is not compatible with PromiseLike.
The baconjs typings don't have strictNullChecks at the moment, so tsc
didn't catch this...

* Flatten contributors' list
2017-05-03 12:52:09 -07:00
Balazs Erdos 2e9178c4b5 Fix commonjs import method (#16297) 2017-05-03 12:42:40 -07:00
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