Commit Graph

29237 Commits

Author SHA1 Message Date
John Reilly
cff3ba9479 [React] Moved shallowRenderer into react-test-renderer as per https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#react-test-utils 2017-04-27 15:26:51 +01:00
Nicholas Simmons
c340b2e633 Add koa-generic-session types (#16155)
Add an optional extended description…
2017-04-26 15:21:38 -07:00
Jeff Kenney
692a3c7637 hapi: set IServerInjectResponse.result to any type since it is a pre-serialization response (#15794)
Add an optional extended description…
2017-04-26 15:18:33 -07:00
iislucas
908dc2e259 Added missing url/metadata objects for photos. (#15903) 2017-04-26 15:11:38 -07:00
Alan Agius
898f68df32 fix(fs-extra-promise): add missing version (#15915) 2017-04-26 15:10:29 -07:00
Ciarán Curley
250b32ce86 radium: Add radiumConfig prop to StyleRoot (#15916)
* Add radiumConfig to StyleRoot

* Made prop optional

* Add tests
2017-04-26 15:10:05 -07:00
Travis Sturzl
73a64f4aba [hashids] Use class instead of interface (#15920)
* Use class instead of interface

Allows hashids to be used as a type in a property `public hasher: Hashids;` and as a class `this.hasher = new Hashids()`;

* modify tests

* No need for module declaration

* modify tests
2017-04-26 15:09:45 -07:00
Martin Novák
ea0a353f21 React-data-grid: adding Data and DraggableHeader (#15941)
* added Data + DraggableHeader in react-data-grid-addons types

* React-data-grid: adding Data and DraggableHeader

* edit test + more specific Selectors

* change Object to object
2017-04-26 15:02:03 -07:00
Martynas Kunigėlis
86d6ae08ba knex: added declarations for with(), withRaw() and withWrapped() (#15966)
Add an optional extended description…
2017-04-26 14:57:43 -07:00
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