Commit Graph
27392 Commits
Author SHA1 Message Date
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
Tom Crockett d034203dd4 [react-spinkit] Fill out props and add testcases (#14792)
* [react-spinkit] Fill out props and add testcases

* Remove extraneous space

* Remove another space
2017-03-10 15:50:29 -08:00
Andy fda05e0cec whatwg-fetch: Deprecate. Now provided by '--lib dom' (#14785) 2017-03-10 15:49:35 -08:00
Andy 713f3554ab protractor-helpers: Fix broken build (#14783) 2017-03-10 15:46:31 -08:00
Sergei Dorogin ad07b5826c jquery.fancytree: fixes for Fancytree, FancytreeNode, FancytreeOptions (#14781)
* jquery.fancytree: fixes for Fancytree, FancytreeNode, FancytreeOptions:

* Fancytree: added fields widget, $container, focusNode, options; fixed activateKey method signature
* FancytreeNode: added fields span, tr; fixed data field type
* FancytreeOptions: fixed toggleEffect field type

* jquery.fancytree: fixes for Fancytree, FancytreeNode, FancytreeOptions: fix - removed BOM
2017-03-10 15:46:04 -08:00
Gevik Babakhani 007fd10f6c [express] Added definitions of session-file-store types for Express (#14793)
* initial commit express session-file-store

* Update tsconfig.json

Added missing line feed
2017-03-10 15:28:05 -08:00
Tyler Alves cfa443286b Add onChangeRaw prop to DatePicker (#14795)
Recently added
2017-03-10 15:27:35 -08:00
Matt 02ccc458a3 [redux-form] "reduxForm()" "Config" interface definition has been adjusted to (#14798)
make the "form" property optional, to more accurately reflect the API.
2017-03-10 15:26:21 -08:00
Aluan Haddad f38e612458 SystemJS: refined typeof 'transpiler' option, added plugin-typescript specific … (#14801)
* SystemJS: refined typeof 'transpiler' option, added plugin-typescript specific flags to typescriptOptions

Refined typeof 'transpiler' option to only allow `false` as opposed to `boolean`.
Added the `typescriptOptions` properties that are specific to plugin-typescript to typescriptOptions object.

* lint and fix warnings
2017-03-10 15:25:58 -08:00
Aluísio Augusto Silva Gonçalves 253d42273d Add type definitions for 'printf' (#14821)
* Add definitions for 'printf'

* Add "lib" to tsconfig.json

* Fix link
2017-03-10 15:18:53 -08:00
Chet Husk a43da75444 allow numbers as the right hand side of a join equality (#14823) 2017-03-10 15:17:36 -08:00
Aleksandar Rodić 75ffb8e47d Changing 'scope' definition (#14810)
current definition
```ts
scope(options?: string | string[] | ScopeOptions | WhereOptions): this;
```
doesn't allow are valid calls. example from [documentation](http://docs.sequelizejs.com/en/latest/docs/scopes/):
```ts
Project.scope('random', { method: ['accessLevel', 19]}).findAll();
```
changing it to
```ts
scope(options?: string | ScopeOptions | WhereOptions | Array<string|ScopeOptions|WhereOptions>): this;
```
should fix the issue since, according to the docs
```ts
// These two are equivalent
Project.scope('deleted', 'activeUsers').findAll();
Project.scope(['deleted', 'activeUsers']).findAll();
```
2017-03-10 15:09:55 -08:00
thisboyiscrazy 12b1792ca0 nedb-logger (#14826)
* nedb-logger

* nedb-logger
2017-03-10 15:03:15 -08:00
Álvaro Menezes fd21da7d92 Add gulp-batch declaration files (#14832) 2017-03-10 15:02:04 -08:00
mleko a871ef4a10 Add qrcode.react definition (#14833)
* Add qrcode.react definition

* Remove patch version

* Update to comply with contribution rules
2017-03-10 15:01:02 -08:00
Iain McGinniss 82bfe951e1 Fix definition to be compatible with TS 2.2 (#14837)
TS 2.2 provides definitions for the fetch API directly in the
dom library, and those definitions are slightly different from
those that were provided in @types/whatwg-fetch. This change
updates the webappsec-credential-management definitions to be
compatible with TS 2.2, and drops the dependency on
@types/whatwg-fetch.
2017-03-10 14:56:19 -08:00