Commit Graph

27407 Commits

Author SHA1 Message Date
Andy
827afd273e Travis: Always use latest 'node' version (#15126) 2017-03-13 07:04:59 -07:00
Andy
2d149856c7 semver: Lint and convert to external module (#15124) 2017-03-12 23:14:06 -07:00
Alex Jover
545f81a23a Add spyOn function introduced in Jest 19 (#14867)
* Add spyOn function introduced in Jest 19

* Update header of jest/index.d.ts file

* Fix types of spyOn function

* Fix jest.spyOn types
2017-03-12 13:01:38 -07:00
Andy
86526d0819 Revert "fixed rowRenderer def to pass style and key (#14565)" (#15125)
This reverts commit b97ac0824d.
2017-03-11 18:16:39 -08:00
jKey Lu
7a7a8e7da2 Update Koa: export BaseContext, BaseRequest, BaseResponse (#14800) 2017-03-11 11:31:10 -08:00
Erik Vullings
583b805d6c Added typings for rvo2 (#14772) 2017-03-11 11:17:28 -08:00
Dolan
8273a891d3 added missing gridlines in y Axes (#14402)
* added missing gridlines in y Axes

* added version number

* added Position Type and barthickness

* refactored X and Y axe into a common base interface, and extended it into the respective axe
2017-03-11 11:16:36 -08:00
Izik Lisbon
9513f2d254 Update options bluebird-retry (#15119)
Update the options passed to the Retry method in npm bluebird-retry to match the options as described here https://www.npmjs.com/package/bluebird-retry#options
2017-03-11 11:15:03 -08:00
Libin Lu
3a054c482a Update index.d.ts (#15114) 2017-03-11 11:08:04 -08:00
kikedB
b97ac0824d fixed rowRenderer def to pass style and key (#14565) 2017-03-11 11:05:31 -08:00
Ivan Popelyshev
1009ee0e0b pixijs v4.3 and pixi-spine updates (#14318)
* Rebase. Yes, I know, lint still isnt working properly

* tslint in index

* tslint v3 is fixed

* bump to refresh CI

* remove comment

* I cant store older version there? Fine.

* really? traling comma?

* header again
2017-03-10 17:43:22 -08:00
Alexandre
4cba69e315 Add revalidate types (#14114)
* Add revalidate types

* Add tslint

* Fix lint issues
2017-03-10 17:32:26 -08:00
Xingcan LAN
82878f6116 All methods of ITestCallbackContext should return this, as well as ISuiteCallbackContext, and IHookCallbackContext (#15031)
* Make methods of ISuiteCallbackContext, IHookCallbackContext and ITestCallbackContext returns this

* Update testcases to chaining-style
2017-03-10 17:18:48 -08:00
Anticom
632974f2c6 Each hook of flot package should be optional (#15041)
Previously if you defined one type of hook, you had to define all hooks.
2017-03-10 17:16:30 -08:00
Andy
d1768e83b3 csv-parse: Lint, convert to external modules (#15024) 2017-03-10 17:16:11 -08:00
Jørgen Elgaard Larsen
183a7fa046 mssql: Adjusted return types of several methods (#14620)
Also added a IRecordSet interface containing column meta data. Added a super type for sql types.
2017-03-10 17:15:47 -08:00
Alexey Svetliakov
397dc0896a Jest: Make assymetric matchers return any (#14609)
* Make assymetric matchers return any

* Added clarification to test
2017-03-10 17:14:22 -08:00
Ashley Brener
4829a1718a Resolves Twilio client construction error on Typescript compilation for es6 module import (#14655)
* Resolves Twilio client construction error on Typescript compilation

* Added Definitions by ...

* updated test and resolved compiler issue
2017-03-10 17:14:09 -08:00
Antoine Rey
09a387491d fix(draft-js): Update definitions for draft-js@0.10.0 (#14651)
* fix(draft-js): Update definitions for draft-js@0.10.0

* fix(draft-js): Update header version

* fix(draft-js): Add contentState#getLastCreatedEntityKey()
2017-03-10 17:13:32 -08:00
Péter Kovács
4aae472c0f [knockout] Update KnockoutComponentTypes.Loader.getConfig signature (#15065)
* [knockout] Update KnockoutComponentTypes.Loader.getConfig signature

Callback in method signature is missing a null type, so when trying to call the callback with null (which is a valid scenario), strict null check fails.

* [knockout] Fix failing build of tests with TypeScript 2.0

*  [knockout] Fix failing build of tests with TypeScript 2.0

* [knockout] Fix failing build of tests with TypeScript 2.0

* [knockout] Fix failing build of tests with TypeScript 2.0
2017-03-10 17:09:55 -08:00
Trevor Bekolay
b6c328979c Make awesomplete definitions a module (#14986)
* Make awesomplete definitions a module

This enables the use of import statements like

  import * as Awesomplete from "awesomplete";

* Add tslint.json and fix to pass checks

Also simplifies existing definitions with AwesompleteSuggestion
and adds the missing DATA method.
2017-03-10 17:09:15 -08:00
Huy Nguyen
c98c70bc30 Add type definition for reduce-reducers (#14790)
* Add type definition for reduce-reducers

* Fix linting errors

* Fix file naming problem that cause build failure

* Slight change in tsconfig to hopefully fix the test file name problem

* Fix lint error
2017-03-10 17:06:59 -08:00
Mohamed Hegazy
c63511e69e Remove erroneous pacakge.json from Jasmine (#15113) 2017-03-10 17:02:13 -08:00
Michał Knapik
8c4f63380f Sequelize: Add benchmark to Options (#14468)
In response to issue https://github.com/sequelize/sequelize/issues/2494
benchmarking feature was added with
version [3.21.0](https://github.com/sequelize/sequelize/blob/master/changelog.md#3210).
Options to Sequelize constructor was missing `benchmark` field.
2017-03-10 16:35:26 -08:00
Костя Третяк
eff5993d1e Fix declarations for 'bunyan' (#14433)
* Fix declarations for 'bunyan'

* Fix order declaration and added comments for 'bunyan'
2017-03-10 16:35:16 -08:00
NN
9f063cbc26 chrome.runtime.lastError is allowed to be undefined (#14374)
Technically lastError is not present if there is no error ( 'lastError' in chrome.runtime === false ).
TypeScript currently cannot express this.
Since chrome.runtime is declared as namespace and not as interface, it is not possible to use optional variable, hence undefined type.

See documentation: https://developer.chrome.com/extensions/runtime#property-lastError
2017-03-10 16:31:40 -08:00
John Colvin
c2234d6c6c d3-selection: Correct parent element/datum types for sub-selections (#14420)
* Correct parent element/datum types for sub-selections

* handle EnterElement case

* re-order overloads

* formatting

* fix d3-zoom test for new append return type
2017-03-10 16:28:06 -08:00
Matthew Wilkes
e4aa39ef69 Adding Definitions for Kramed (#14462)
* Definitions for Kramed

* Fixed tslint errors

* Fixed exports after fixing tslint export warning
2017-03-10 16:26:29 -08:00
Libin Lu
489156cadf [react-native] add dismiss() for Keyboard (#14665)
* add some art definition

* react-native add dismiss function for Keyboard

* add dismiss() for Keyboard react native
2017-03-10 16:23:23 -08:00
Libin Lu
750ea4bca7 make some KeyboardAvoidingViewProps optional (#14667) 2017-03-10 16:22:52 -08:00
Hannah Howard
7deac77175 Handsontable updates: more specificity, support for customized plugins, linting (#14534)
* (Feature) Enhance handsontable type definitions

More in depth coverage of Handsontable library. Specifically adds:
1. Type definitions for writing custom HOT plugins outside of HOT
2. More in depth column property definitions
3. General utilties that are exposed on HOT object, for that are used by
various HOT plugins

* Add linting file
2017-03-10 16:22:16 -08:00
Troy McKinnon
43b17712ec Bootbox: improve typing with string union types (#14561) 2017-03-10 16:21:12 -08:00
Serginho
37f8604200 Added Facebook AuthResponse grantedScopes attribute (#14585) 2017-03-10 16:18:53 -08:00
Joe Skeen
795687164e Add definitions for jquery-toastmessage-plugin (#14625)
* Add definitions for jquery-toastmessage-plugin

* Add tslint.json

* enable strict null checks

* Fix linting errors

* target module "commonjs" to pass Travis test (even though no modules are used)

* add 'lib' to taconfig.json to pass Travis test

* add 'dom' to lib in tsconfig.json
2017-03-10 16:18:23 -08:00
Olivier Chevet
9af10f325e bunyan-blackhole : Initial commit for v0.2.0 (#14668)
* Initial commit for v0.2.0

* added tslint compliance
2017-03-10 16:15:11 -08:00
Jeffery Grajkowski
f4e385218b Added JMESPath 0.15.0 (#14685)
* Added JMESPath 0.15.0

* Added tslint to jmespath

* Fix linting issue.
2017-03-10 16:13:26 -08:00
macleodbroad-wf
2e0317a202 Adds graph2d typescript definitions for visjs library (#14710)
* Adds graph2d definitions

* Adds MacLeod Broad to Definitions authors list

* Corrects semi-colon and whitespace in index.d.ts
65:12   semicolon           Interface properties should be separated by semicolons
66:12   semicolon           Missing semicolon
84:31   semicolon           Missing semicolon
609:13  typedef-whitespace  expected onespace after colon in property-declaration

* Corrects missing semi-colon
index.d.ts
84:31  semicolon  Missing semicolon
2017-03-10 16:13:02 -08:00
Tom Crockett
029d7df0bd [react-select] onChange can be called with null (#14713)
This occurs when the selection is cleared.
2017-03-10 16:12:07 -08:00
Morris Janatzek
c9e96aa918 Added declarations for 'linq4js' (#14723)
* Added declarations for 'linq4js'

* fixed lint

* fixed version

* fixed tsconfig.json

* tsconfig.json fix 2

* small changes in function definition
2017-03-10 16:10:09 -08:00
Matt
6f89467eb3 [react] Added a "boxShadow" optional property to the "CSSProperties" interface (#14726)
* [react] Added a "boxShadow" optional property to the "CSSProperties" interface.
MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow

* Added a test for CSSProperties.boxShadow
2017-03-10 16:09:13 -08:00
AlbertOzimek
0c3f15aaed Adding typescript definitions for highmaps http://www.highcharts.com/… (#14727)
* Adding typescript definitions for highmaps http://www.highcharts.com/products/highmaps

* Adding typescript definitions for highmaps http://www.highcharts.com/products/highmaps

* Adding typescript definitions for highmaps http://www.highcharts.com/products/highmaps

* Adding typescript definitions for highmaps http://www.highcharts.com/products/highmaps

* Adding typescript definitions for highmaps http://www.highcharts.com/products/highmaps

* adding types to the map.js extension to the highcharts library (# 14727)
map.js library can be found here: https://github.com/highcharts/highcharts/blob/master/lib/modules/map.js
Adding tslint.json for linting
2017-03-10 16:08:56 -08:00
Yonezawa-T2
bc09f55b3f Updates kii-cloud-sdk v2.4.6 -> v2.4.9. (#14734)
* Updates kii-cloud-sdk v2.4.6 -> v2.4.9.

- Added `KiiErrorParser`.
- Added `KiiClause.not`
- Added `KiiClause.hasField`
- Added `KiiObject#getKeys`
- Added `KiiObject#remove`
- Added `KiiUser.completeResetPassword`

* kii-cloud-sdk: fix style
2017-03-10 16:05:31 -08:00
pegel03
2addedb15e Added Leaflet.DivIcon for icon type (#14736)
* Added Leaflet.DivIcon for icon type

* Changed icon to BaseIcon type, as per @danzel suggestion
2017-03-10 16:04:05 -08:00
Bryan Miller
e157eb1dd1 Update index.d.ts (#14753)
This change is necessary when compiling with strictNullChecks = true.

Null is a valid value in all setMap calls.  In most cases, calling xxx.setMap(null) results in xxx being removed from the map.
2017-03-10 16:03:42 -08:00
Dovydas Navickas
df4cd9221a Return types updated from undefined to void in react-router and react… (#14743)
* Return types updated from undefined to void in react-router and react-router-redux.

* Author added to definitions.
2017-03-10 16:02:02 -08:00
Mike van Afferden
1636a8e3aa Add GeometryUtil functions to leaflet-draw (#14755)
* Add GeometryUtil functions to leaflet-draw

Add two functions in the GeometryUtil namespace of leaflet-draw

* Remove illegal whitespaces

* Add GeometryUtil function calls to tests

Validate that the function declarations are valid by adding calls of
geodesicArea() and readableArea() to the tests.
Remove a whitespace that the linter complained about.
2017-03-10 15:59:32 -08:00
Chet Husk
c0948a79a2 [Knex] add batch builder typedef for knex (#14760)
* add batch builder typedef for knex

* fix spacing
2017-03-10 15:58:48 -08:00
xaviergonz
c73a528e27 material-ui - Updated TextField props (#14761)
* material-ui - Updated TextField props

* Update index.d.ts
2017-03-10 15:58:32 -08:00
Artem Borisov
647ecd7255 Update index.d.ts (#14804) 2017-03-10 15:51:02 -08:00
Libin Lu
1c4816c61c Platform.Version is always available (#14802) 2017-03-10 15:50:42 -08:00