Commit Graph
29375 Commits
Author SHA1 Message Date
beary b0d31d86b1 Add generic to findOneAnd*** functions 2017-05-04 19:19:41 +08:00
beary 22b3831e31 Add generic to collection 2017-05-04 18:22:34 +08:00
beary 920d2d7bdf Add default generic to Collection
TypeScript support default generic since version 2.3, so add generic to Collection.
2017-05-04 18:13:19 +08: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
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