Commit Graph
33164 Commits
Author SHA1 Message Date
Sl1MBoy e41d2c543c Added UnauthorizedError class to @types/express-jwt. (#18137)
* Added UnauthorizedError class.

* Updated definition to match gridstack v0.3.0

* Revert "Updated definition to match gridstack v0.3.0"

This reverts commit 2e1f194e68ffd914af08e1f6265cdc7ffb9f44f4.

Commited to wrong branch
2017-07-24 08:56:01 -07:00
Dimitri Benin 674bf789c4 [cucumber] add more specific typings for TableDefinition (#18131) 2017-07-24 08:55:35 -07:00
Dimitri Benin 01924ef872 [promise.prototype.finally] add typings for the non-shim variant (#18114)
* [promise.prototype.finally] add typings for the non-shim variant of promise.prototype.finally

* [promise.prototype.finally] change indentation to 4 spaces

* [promise.prototype.finally] fix lint error
2017-07-24 08:54:38 -07:00
dyst5422 64099f0b4c fix(point-in-polygon): Fixed point-in-polygon type declaration (#18069)
* fix(point-in-polygon): Fixed point-in-polygon type declaration

The export format of point-in-polygon did not match the type declaration format.

* Fixed removed definition author
2017-07-24 08:43:11 -07:00
Eloy Durán 765d26a240 Merge pull request #18274 from paranoidjk/master
fix(ReactNative): ScrollView.props.style definition error
2017-07-24 13:25:20 +02:00
paranoidjk 6310159eb6 fix(ReactNative): ScrollView.props.style definition error 2017-07-24 14:45:18 +08:00
Michel Boudreau 9ecdd3cbcb Updating Q to have optional resolves (#18200)
* Remove export as namespace

This particular file was causing me issues with the new typings-2.0 since it doesn't support exporting namespaces from within modules.

* Updating Q to have optional resolves, adding tslint file, fixing tests compilation

* forgot to merge in latest from upstream, replicated the changes into new folder structure

* adding tslint to q

* latest changes to please tslint, but is currently breaking the .all tests - still need to fix

* fixing the reason why the tests was failing, a problem with Typescript trying to decipher the signature of arrays within function arguments that are unionized, updating tslint to ignore those issues

* whoops, messed up header which failed linting
2017-07-23 18:15:25 -07:00
John Reilly e9569f1a1d Merge pull request #18227 from devrelm/devrelm/textarea-autocomplete
[react] Add missing autoComplete and dirName attributes on textarea
2017-07-23 18:40:04 +01:00
Mike Deverell c3f41ac81b 'autoComplete' should be lowercase 'autocomplete' 2017-07-22 22:32:57 -04:00
Mike Deverell 801ffc3751 add myself (devrelm) to the contributors list 2017-07-22 22:32:57 -04:00
Mike Deverell d9420c7ffc add missing textarea attributes 2017-07-22 22:32:57 -04:00
Dimitri Benin 271b8ec0aa [normalize-url] correct typings, add tests, export namespace (#18292) 2017-07-22 12:21:48 -07:00
Nick Graham 4cfe41dc6b [material-ui] Adds linting (#18189)
* Adds props to GridTile

* Adds ts line

* Fixes lint array error

Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>' instead.

* Fixes lint consecutive blank line error

* Fixes whitespace and semicolon lint errors

* Fixes lint whitespace error

Don't use blank line after '{'

* Fixes lint type error

 Use an interface instead of a type literal

* Fixes lint interface error

 An empty interface is equivalent to `{}`.

* Lint: Replaces var with let

Do not use 'var'

* Lint: Prefer method signature

* Lint: Fixes array type

Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>'

* Lint: Fixes boolean type

 Don't use 'Boolean' as a type. Avoid using the `Boolean` type. Did you mean `boolean`?

* Lint: Ignore unneccesary exports

* Lint : fix errors

* Lint: adds missing semi-colons

* Lint: Removes spaces

* Lint: Ignore no empty interfaces (We could just delete them)

* Lint: Ignore "dt-header" (could remove patch number)

* Lint: Ignore ban-types so we can use Function

* Remove new props that I added

* Fixes var -> let over replacement
2017-07-22 12:16:13 -07:00
spielc 69c1ab4f36 Add typings for Reactable 0.14. (#18270)
* Add typings for Reactable 0.14. Not complete but the stuff provided by the typings have been tested/used quite extensively by myself during the development of ReactPlayer!

* Add two tests (very simple one and a quite sophisticated one which contains all the components i created typings for...)
2017-07-22 12:04:34 -07:00
Dimitri Benin 42e60e5283 [sparkly] introduce typings (#18291)
* [sparkly] introduce typings

* [sparkly] restrict input type to allow all types from examples but not more than that
2017-07-22 02:22:57 -07:00
Dimitri Benin c469f9c606 [time-span] introduce typings (#18294)
* [time-span] introduce typings

* [time-span] simplify typings as suggested by review
2017-07-22 02:09:18 -07:00
Andrew Throener 045b2eace8 (paypal-rest-sdk): Initial Type commit (#18296)
Update

Update

Update

Update

Update

remove package.json

Review 1
2017-07-21 20:28:56 -07:00
Mohsen Azimi cc903d089f Some improvements to webpack configuration (#18118)
* Some improvements to webpack configuration 

`"name"` property schema:

https://github.com/webpack/webpack/blob/master/schemas/webpackOptionsSchema.json#L822-L825

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2017-07-21 19:18:30 -07:00
Jeffery Grajkowski 4d9811d69d Update imap-simple to v3.1.0. (#18301)
* Update imap-simple to v3.1.0.

* Fix compilation for TS 2.0
2017-07-21 19:17:39 -07:00
Dimitri Benin 1de704cfe3 [color-string] introduce typings (#18298) 2017-07-21 19:14:12 -07:00
Dimitri Benin 29fc3e0735 [p-queue] introduce typings (#18303) 2017-07-21 19:01:23 -07:00
HAMPLENI 01764b65da Adding useNativeDriver to EventConfig (#18302)
The AnimatedEvent class's constructor takes in a config parameter of type EventConfig.  This config object is passed to shouldUseNativeDriver, which only returns something other than false if useNativeDriver is ever set.

A case when useNativeDriver is set to true is when Animated.Event is used for an Animated.ScrollView's onScroll prop.

https://facebook.github.io/react-native/blog/2017/02/14/using-native-driver-for-animated.html
2017-07-21 19:00:35 -07:00
AJ Richardson cad18fc7ad lodash: fix issues with null/undefined parameters (#18120) 2017-07-21 19:00:07 -07:00
Petr Kosikhin 0cdbd80095 [react-router-redux] update to use redux 3.7.2 AnyAction to allow ts 2.4 usage (#18071)
* update to use redux 3.7.2 anyaction pattern allowing ts 2.4 upgrade

* move away from anyaction concept for router action and location change action. use redux reducer generic to desribe routerReducer
2017-07-21 18:13:20 -07:00
Sean Tan 0e72825279 Add support for use_index in pouchdb-find 6.3.4 (#18164) 2017-07-21 10:40:27 -07:00
Ika e228e20b8b feat(prettier): initial commit (#18280)
* feat(prettier): initial commit

* style(prettier): fix indentation

* fix(prettier): fix typo

* fix(prettier): replace AST with babylon root node

* refactor(prettier): remove unnecessary export
2017-07-21 10:30:34 -07:00
Karol Janyst ff94dce8df Fix problem with generic form inputs props on Field in redux-form (#18276)
* Refactor some of the definitions for v7

* Add definitions for formValues decorator

* Refactor definitions for Field, Fields, FieldArray, add tests

* Add files to tsconfig

* Fix immutable version of exports

* Clean up the code, change some types

* Add improvement to generic components

* Remove accidentally added files

* Remove conflicting tests file
2017-07-21 10:05:25 -07:00
Maxime Kjaer d06eee332a Add Rangy Class Applier module to Rangy (#18259)
* Add Rangy Class Applier module type definition

* Make RangyClassApplier extend the options

And allow strings in tagName

* Remove reference path in test file

This should hopefully Make the Build Green Again

* Remove call to unexisting method

This was meant for another PR, and I got things a bit mixed up... (I'll
submit the other PR that adds the missing rangy-core properties when I
have a bit more experience with the whole process of writing type
declarations)

* Incorporate previous contributor's feedback

Thanks for the great feedback 😃
2017-07-21 10:03:22 -07:00
Dimitri Benin af323c27a4 [ora] introduce typings for v1 (#18233)
* [ora] move old typings to subdir

* [ora] introduce typings for v1

* [ora] change indentation to 4 spaces

* [ora] change indentation to 4 spaces

* [ora] change indentation to 4 spaces

* [ora] make factory parameter optional

* [ora] fix indentation, correct profile url for Christian Rackerseder
2017-07-21 10:02:09 -07:00
coderslagoon a07f6d8f8a Type definitions for is-ip (#18272) 2017-07-21 10:01:15 -07:00
Marvin Hagemeister d7a3309b4e Add babel-plugin-syntax-jsx package (#18282) 2017-07-21 09:52:37 -07:00
Douglas Duteil cfb448f0ac feat(tempy): add typings for tempy (#18246)
* feat(tempy): add typings for tempy

* test(tempy): use promise instead of async/await

* test(tempy): remove use of console.log API
2017-07-21 09:50:48 -07:00
Dimitri Benin 0dd0b27c90 [hasha] introduce typings (#18284) 2017-07-21 09:50:03 -07:00
Dimitri Benin 379d9ca112 [is-stream] introduce typings (#18285) 2017-07-21 09:49:20 -07:00
George MacKerron ae0493cdc6 Updated ClientConfig to accept TlsOptions instead of just boolean (#18117) 2017-07-21 09:48:38 -07:00
Tom Wanzek 5fb85c244c [d3] Update to Minor Version 4.10 (#18103)
* [d3-zoom] Update to 1.5
* [Feature] Add `translateTo(...)`
* [Doc] Update some JSDoc comments
* [Chore] Bump minor version number

* [d3-zoom] Bump Minor Version number.

* [d3-shape]
* [Fix] Change `pointRadius` to `pointRadial`

* [d3-shape] Fix test for pointRadial

* [d3-axis]
* [Doc] Update some comments.

* [d3-time] [Doc] Some JSDoc updates.

* [d3] [Chore] Bump minor version to 4.10
2017-07-21 09:48:03 -07:00
Tom Doggett 3f1a9ccec0 Updating React.HTMLAttributes used by Enzyme to new React.AllHTMLAttributes interface introduced in @types/react-15.0.38 (#18269) 2017-07-21 09:47:36 -07:00
Matus Gura 3f0193af10 [email-templates] Compliant with the latest version 2.6.0 (#18254)
* Made email-templates complaint with the latest version 2.6.0

* Added linter and updated a test
2017-07-21 09:46:57 -07:00
zbarbuto 9dc4f81823 Add missing maildev options (#18252)
* Add missing maildev options

* Update maildev tests
2017-07-21 09:44:36 -07:00
Daniel Imms 527914c2a3 node: Fix net.Socket definition (#18275)
v0.12.x: https://nodejs.org/docs/latest-v0.12.x/api/net.html#net_new_net_socket_options
v4: https://nodejs.org/dist/latest-v4.x/docs/api/net.html#net_new_net_socket_options
v6: https://nodejs.org/dist/latest-v6.x/docs/api/net.html#net_new_net_socket_options
v7: https://nodejs.org/dist/latest-v7.x/docs/api/net.html#net_new_net_socket_options
v8: https://nodejs.org/api/net.html#net_new_net_socket_options
2017-07-21 09:41:56 -07:00
Bradley Ayers e030446e88 Fix Decoration.widget signature. (#18201) 2017-07-21 09:40:56 -07:00
Dimitri Benin b33275b2f4 [make-dir] add more specific type to fs config option (#18286) 2017-07-21 09:40:26 -07:00
Willis Plummer 168bb317b1 add possibility of null return value from RichUtils.handleKeyCommand (#18277)
* add possibility of null return from RichUtils.handleKeyCommand

* more specifically, the function returns null in the overload case

* make key for RichUtils.toggleLink potentially null

* add definitions by credit
2017-07-21 09:40:00 -07:00
Benjamin Svobodny 1be93dbab9 Update index.d.ts (#18140)
Add parameters used for doughnut charts :  http://www.chartjs.org/docs/latest/charts/doughnut.html
2017-07-21 09:39:21 -07:00
Saeed Tabrizi 4de32d67a5 fix string case in PropertyType - a minor patch (#18268) 2017-07-20 16:04:58 -07:00
Dimitri Benin 5b68a7c6bb [is-svg] introduce typings (#18265) 2017-07-20 15:57:27 -07:00
Dimitri Benin 0fefe6de39 [log-update] introduce typings (#18263) 2017-07-20 15:55:47 -07:00
Dimitri Benin 7ac090dcfc [figures] introduce typings (#18266) 2017-07-20 15:55:25 -07:00
Ron Buckton d00f967ff8 Improve types for node 'fs' module (#18052) 2017-07-20 15:54:19 -07:00
Markus Chmelar b50f4e4556 Leaflet: Polygon Constructor with Multi-Dimensional Array (#18260) 2017-07-20 15:53:59 -07:00