Commit Graph
29228 Commits
Author SHA1 Message Date
ghybs fac0ab9e37 Fix(moment-duration-format): trim "right" (#15970)
is a valid value for `DurationFormatSettings.trim` option.
See https://github.com/jsmreese/moment-duration-format#trim, `trim` can be a `boolean` or the `"right"` string value.
2017-04-26 14:55:47 -07:00
Frederick Fogerty 2a78cc163a Add types for capitalize (#16156)
Add an optional extended description…
2017-04-26 14:47:50 -07:00
troywweber7 b86db17028 mistake, can't use ts enums because objects don't exist (#16153)
Add an optional extended description…
2017-04-26 14:37:53 -07:00
Jan Klimke 8e24694620 Updated 18next exists method and added ability to use string interpolation arguments (#16124)
* Updated i18next extists function definition 

and allow for additional interpolation options to be passed as TranslationOptions

* Updated 18next test

* i18next fixed typing of exists key parameter

* i18next Fixed test typo
2017-04-26 14:35:57 -07:00
arlecchino c4077c19e4 @types/bluebird: Make AggregateError ArrayLike (#16148)
* Make AggregateError ArrayLike

For simplification extend AggregateError from Array<Error>

* Make AggregateError implementing ArrayLike

AggregateError should be an Error and also an ArrayLike of Errors with a bunch of Array-methods.
2017-04-26 14:35:30 -07:00
Giedrius Grabauskas 94f553150d Types for undertaker-registry@1.0 (#16146)
* undertaker-registry initial commit.

* Created index.d.ts for undertaker-registry

* Created tslint.json for undertaker-registry

* Created tests for undertaker-registry.
2017-04-26 12:13:40 -07:00
Ben Robinson d286c0ac79 adding OAuth2 options to AuthOptions interface (#16149) 2017-04-26 12:13:07 -07:00
Danny Arnold 1b390ec9a2 make types compliant with strictNullChecks (#15975) 2017-04-26 12:10:29 -07:00
Gustav Bylund ef5ec2e273 Set optional parameters for paypal.tokenize (#15999)
As described in https://braintree.github.io/braintree-web/current/PayPal.html#tokenize
2017-04-26 12:05:22 -07:00
Jordan Farrer 141f50ad45 mailgen: Add missing members to ContentBody and Product, fix type of several existing members (#16000) 2017-04-26 12:04:14 -07:00
Thomas Hasner 10a204d02d Add overloads to account for mergeProps (#16024)
* Add overloads to account for `mergeProps`

This also provides better typings for users of `strictNullChecks`

* more overloads and tests

* accept `null | undefined`

* allow placeholder typings

* tests

* one `ComponentDecorator`

* tests

* no keyword
2017-04-26 11:52:32 -07:00
Troy McKinnon f9bf70b08f Angular-toastr: expand function types (#16034) 2017-04-26 11:49:22 -07:00
Mateusz d5240b6d9c Re-add generic Function type to IInjector.invoke() sygnature. (#16042)
Looks like it is used in some projects. 'Function' should be treated
as a function with '(..args: any[]) => any' signature.
2017-04-26 11:47:36 -07:00
DaIgeb ecd2bdb304 file-saver: Allow saving files directly (#16045)
As documented on https://github.com/eligrey/FileSaver.js/ saving a file
without using the Blob object should be possible
2017-04-26 11:43:48 -07:00
Radosław Krzepkowski 2971c4624a [angular-local-storage] updates definition to reflect latest changes (#16047)
* updates definition to reflect latest changes

In latest versions of angular-local-storage library it is possible now to pass type of storage to some methods e.g.
https://github.com/grevory/angular-local-storage/blob/master/src/angular-local-storage.js#L147

* improves formatting
2017-04-26 11:43:12 -07:00
Mykhailo96 53ada7c0c2 reloadAuthResponse for gapi.auth2 (#16061) 2017-04-26 11:34:36 -07:00
Eward Song 0cc7d8bb62 chore(egg): change interface name (#16076) 2017-04-26 11:18:50 -07:00
Hari Juturu 1ed019e8ad Updating keytar typings for v4.0.2 (#16082)
* Updating keytar typings for v4.0.2

* Updating the return types

* Adding null return for get/find password
2017-04-26 11:16:48 -07:00
Gaspar Zaragoza 238ce6d05d Add missing typing (#16085)
freehand option was missing from DrawOptions.
Source: https://openlayers.org/en/latest/apidoc/ol.interaction.Draw.html
2017-04-26 11:12:18 -07:00
Michael Strobel 9667b739e2 [dotenv] Add types for v4.0.0 (#16087) 2017-04-26 11:11:08 -07:00
Tim Brust 00ac5257cb feat(webdriverio): add toggleTouchIdEnrollment function (#16147)
style(webdriverio): add linting and correct reported issues
test(webdriverio): update GitHub test case
2017-04-26 10:50:51 -07:00
infernaldawn a834a66304 Use union types instead of overloads (#16144) 2017-04-26 10:29:41 -07:00
Christian 737835c162 [react-svg-pan-zoom] fix background type https://github.com/chrvadala/react-svg-pan-zoom/issues/35 (#16143) 2017-04-26 10:28:20 -07:00
Aurélien Allienne b2db59fb24 Move className from SharedEnhancedButtonProps to FlatButtonProps and increase minor version (#16142) 2017-04-26 10:27:42 -07:00
Krzysztof Rzymkowski 0baf4fe3f1 [openlayers] ol.interaction.Draw.createBox() (#16130) 2017-04-26 10:04:54 -07:00
Lionel 99d153dd1b screenfull: update type definitions for v3.2 (#16097) 2017-04-26 10:04:04 -07:00
Jakub Sedlacek fc7212862d mongodb: add partialFilterExpression to indexOptions (#16109)
Add an optional extended description…
2017-04-26 10:03:41 -07:00
Diogo Franco bf2a72285c Add type definitions for react-loadable (#16118)
* Add definitions for react-loadable

* Add react-loadable/babel

* Add explicit export
2017-04-26 08:05:55 -07:00
Ivan Nikolaev 2eae6bc173 Fix Triangle.closestPointToPoint() prototype (#16141) 2017-04-26 08:03:17 -07:00
Aurélien Allienne fb21b2cc53 Button have a className property (#16098)
According to material-ui documentation, buttons have className property
For example : http://www.material-ui.com/#/components/flat-button
2017-04-25 15:58:48 -07:00
Dan Corder d2f5ddec1e Add missing props parameter to onSubmitFail and onSubmitSuccess in redux-form (#16108)
* Add missing props parameter to onSubmitFail and onSubmitSuccess

* Update comments
2017-04-25 15:50:17 -07:00
Yui 75eb807efc Merge pull request #15976 from Ramblurr/master
Add type defs for 'screeps-profiler' package v 1.2
2017-04-25 15:35:26 -07:00
Louis Orleans 514f16f2a4 Fixing Blessed scroll typings (#15852)
* 🎨 Removing trailing whitespace

This was caused by my editor

* 🐛 scroll getters return numbers, not void
Box::getScroll returns a number according to the documentation
Box::getScrollHeight returns a number according to the documentation
Box::getScrollPerc returns a number according to the documentation
2017-04-25 15:33:21 -07:00
Andy 2b13252c87 auto-sni: Fix lint (#16132)
Add an optional extended description…
2017-04-25 15:10:13 -07:00
Yui a34f72687e Merge pull request #15993 from DefinitelyTyped/react-redux
react-redux: Remove test which does not compile in TypeScript 2.3
2017-04-25 14:54:20 -07:00
Yui 6b8ed9ae99 Merge pull request #15995 from mitchellwills/gapi-auth-response
Fix types of some fields in gapi.auth2.AuthResponse
2017-04-25 14:53:02 -07:00
Yui c516d8f3f9 Merge pull request #16057 from Hongbo-Miao/patch-3
chance: add gender
2017-04-25 14:51:38 -07:00
Yui 155a2ad92a Merge pull request #16003 from smrq/react-datepicker
Update react-datepicker to 0.46 and add linter config
2017-04-25 14:44:07 -07:00
Yui 1f8b827b9c Merge pull request #16002 from DefinitelyTyped/fetch
isomorphic-fetch: Just use fetch `--lib dom`.
2017-04-25 14:42:42 -07:00
Yui 5c7ccc1e2e Merge pull request #16007 from DefinitelyTyped/update_fixed-data-table
[Fixed-data-table] Update test error when using 2.3 compiler
2017-04-25 14:34:26 -07:00
Akshar Patel d07ac371fa node.js: Add type guards as return types of util methods (#16011)
* node.js: Add type guards for return types of util methods

* use object instead of Object in isObject typeguard

* use es2016 as target for Node 7 types

Node 7 supports almost 99% of ES2015 and 100% of ES2016. Hence, its safe
to use the target of es2016 in tsconfig.json

* remove typeguard from isObject function

* rename Symbol to symbol

* remove es2016 target in tsconfig.json
2017-04-25 12:56:18 -07:00
Denis e4e4d4223f Publish kdbush definition (#16107)
* Publish kdbush definition

* Definition changes based on comments
@andy-ms

* Add semi-colon
2017-04-25 10:53:46 -07:00
Cyril Schumacher 8712d50b29 Add definition for procfs-stats (#16127)
* Add definition for "throng".

* Add definition for procfs-stats.

* Update definition header.

* Fix mistake.
2017-04-25 10:29:25 -07:00
Cyril Schumacher 4bf3c5c926 Add definition for "pidusage". (#16126)
* Add definition for "throng".

* Fix tslint errors.

* Add definition for "pidusage".

* Remove definition for "throng".

* Fix mistakes.
2017-04-25 10:28:28 -07:00
Kanchalai Tanglertsampan 21a88925d2 Fix indentation 2017-04-25 09:58:25 -07:00
Cyril Schumacher 031d1a1b33 Add definition for "throng" (#16123)
* Add definition for "throng".

* Fix tslint errors.

* Fix mistakes.

* Fix mistake.

* Replace "class" by "interface".
2017-04-25 09:50:25 -07:00
Jan Wolf 80729fa6ca Add typings for auto-sni (#16081)
* no message

* Added more specific types
2017-04-25 09:48:10 -07:00
Tom Wanzek b6746d73a2 D3 Update to 4.8.0 (d3-array 1.2 [Feature/Fix] and d3-format 1.2 [Feature]) (#15904)
* Update d3-format to v1.2
* [Feature] Adds support for optional "percent" suffix in locale definition.
* Added tslint.json file

* [d3-array] Update to version 1.2
* [Feature]: Add `tickIncrement(...)`
* [Fix]: Fix incorrect  return type of tickStep(...). The correct return type is `number` instead of `number[]`
* [Chore]: Updated related comments

* [d3] Update minor version to 4.8

* Fix d3-format related linting errors.
2017-04-25 09:45:20 -07:00
Daniel Perez Alvarez 37af92fb27 Add types for redux-devtools-extension (#16089) 2017-04-25 08:49:27 -07:00
Diogo Franco 3a5dc062d9 Add type definitions for qhistory (#16115) 2017-04-25 08:34:22 -07:00