Commit Graph

29401 Commits

Author SHA1 Message Date
Lucas Neiva
9fbba5a517 Add babel-types NullLiteral type aliases (#16066) 2017-05-04 18:01:48 -07:00
Nicolas Voigt
34d30931f0 Updated bonjour types (were not working on typescript 2.2) (#16075)
* new typings

* updated types into a namespace to allow the default function to be fired

* typo on findOne

* DT tests passed
2017-05-04 18:01:24 -07:00
Ryan Riley
3426ce7a27 Add missing options and further refine parameter types for Handsontable 3.1.2 (#16078)
* Add missing members and parameter types

* Update original setDataAtCell overload

* afterChange oldVal should be typed as any

* Fix lint errors

* Correctly type the prop value in the afterChange parameter
2017-05-04 17:58:28 -07:00
Youngrok Kim
c272249810 Fix incorrect signature of createPath and createHref (#16063) (#16084) 2017-05-04 17:56:40 -07:00
kwiateusz
e695fa67f6 Update definitions of owlcarousel (#16088)
In lib responsiveBaseWidth is wrapped by JQuery
2017-05-04 17:56:16 -07:00
robin labat
ca336951d0 Correction of @types/js-schema for the import error: (#16090)
'Cannot invoke an expression whose type lacks a call signature. Type 'typeof 'js-schema'' has no compatible call signatures.'

while importing with 'import * as schema from 'js-schema''

The previous import strategie ('import {default as schema} from 'js-schema') where raising an error after compilation.
2017-05-04 17:55:53 -07:00
Parambir Singh
67b6964441 Add a few missing type definitions for node.js zlib module (#16311)
* Update index.d.ts

Add overloaded methods for zlib module that take a ZlibOptions parameter along with a callback.

* Add tests for new methods added to node’s zlib module definition.
2017-05-04 17:44:38 -07:00
ikokostya
65989c0d61 @types/node: update dns.resolve* declarations (#16320)
* @types/node: update dns.resolve* declarations

Fixes: #11151

* review fixes
2017-05-04 17:44:11 -07:00
Brian Love
d41436966c @google-cloud/storage definitions (#15155)
* @google-cloud/storage definitions

* Renamed [at]google-cloud to google-cloud and exposed API classes and interfaces at the top level

* Renamed to google-cloud__storage as per request.

* Renamed and moved into types directory.
* Removed individual files and consolidated all definitions into
index.d.ts file.
* Using <code>declare module</code> to create a single
<code>@google-cloud/storage</code> module that imports each individual
module:
** <code>@google-cloud/storage/bucket</code>
** <code>@google-cloud/storage/channel</code>
** <code>@google-cloud/storage/file</code>
** <code>@google-cloud/storage/storage</code>
* Updated README.

* Remove custom README.

* Removed redundant JSDoc comments.

* Fixed errors for passing nom test.
2017-05-04 17:32:51 -07:00
Mohamed Hegazy
922f5aabf0 fix more lint failures (#16331) 2017-05-04 17:16:10 -07:00
André Wallat
df09b2a336 Adding type definition leaflet-areaselect plugin (#16225)
* - added types for leaflet-areaselect plugin

* - added export as namespace notation

* - remove global definition
2017-05-04 16:15:51 -07:00
Yui
c4890a7d05 Merge pull request #16327 from DefinitelyTyped/UpdateReactToIncludeChildren
[React] Include ElementChildrenAttribute for 2.3
2017-05-04 16:15:41 -07:00
Kanchalai Tanglertsampan
6bd2adc569 Merge branch 'master' into UpdateReactToIncludeChildren 2017-05-04 16:02:48 -07:00
Jason Healy
8e1e46db87 Adding 'setLayoutAnimationEnabledExperimental' flag to UIManagerStatic for Android LayoutAnimation (#16317) 2017-05-04 16:01:06 -07:00
Mohamed Hegazy
ff4eaf5d61 Fix lint errors introduced in tslint@5.2 (#16330) 2017-05-04 15:48:57 -07:00
Mohamed Hegazy
e564537f7f Fix lint failures (#16329)
* fix lint failures

* Fix more lint failures

* Fix some more lint errors
2017-05-04 15:31:42 -07:00
Yui
13b5f660ba Include ElementChildrenAttribute
This is a new feature in 2.3 as TypeScript will be able to check JSX.children
2017-05-04 14:04:25 -07:00
Sylvie Boenke-Bowden
581dbc2dde Update definitions for react-custom-scrollbars@4.1.1 - BREAKING CHANGES (#16326)
* Update definitions for react-custom-scrollbars@4.1.1 - BREAKING CHANGES

* Preserve react-custom-scrollbars v3 in folder
2017-05-04 13:57:28 -07:00
John Maxwell
abef2dd282 [pg] Allow QueryConfig based queries rather than just string queries (#16293)
* feat: Allow QueryConfig based queries

* Harmonise pg.Client and pg.Pool query signatures
2017-05-04 13:08:11 -07:00
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
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