Commit Graph
33155 Commits
Author SHA1 Message Date
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
Bill Kim 2b0f00ff27 Update kafka node (#18267)
* updating types for kafka-node

* fixed typos

* linter errors

* typo
2017-07-20 15:53:43 -07:00
Maarten Mulders e046dbc3bc Improved type definitions for Recharts (#18256)
* merged definitions with my own. therefor added some types and made
changed the namespace back to a module.

* fixxed lint errors

* Remove ignore rules from tslint.json

* Put everything in one module declaration
2017-07-20 13:10:22 -07:00
Ashish Gaurav 60f71e1cee [dygraphs] vesions update (#18235)
* @types/dygraphs: add legendFormatter in options

* version update

increment version to reflect changes in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/18107
2017-07-20 10:08:00 -07:00
Dimitri Benin d94fa4a42e [editorconfig] change default indentation to 4 spaces for json and yaml files (#18245) 2017-07-20 10:06:52 -07:00
Stephen Ierodiaconou 466067a989 [next-redux-wrapper] Add missing options paramter to definition (#18249) 2017-07-20 10:05:29 -07:00
Mika Kuitunen 3b95a71580 [react-redux-toastr] Rewrite types for package v7.0.0 and TypeScript 2.4 (#18024)
* react-redux-toastr: unify code style

* react-redux-toastr: Change React.Component types to use state and props

* react-redux-toastr: change to named imports

* react-redux-toastr: remove module declaration

* react-redux-toastr: add union types for known strings

* react-redux-toastr: rename ToastrConfirmOptions to ConfirmToastrOptions for unified style, refine properties

* react-redux-toastr: Add interfaces for all of the Toastr option objects

* react-redux-toastr: Refactor some variables to alphabetical order

* react-redux-toastr: Add interfaces to toastrs in reducer state, add toastr action payload, toastr reducer state

* react-redux-toastr: Rename ToastOptions to ToastrOptions to unify style

* react-redux-toastr: Rename ToastrOptions to ReduxToastrProps and rewrite properties

* react-redux-toastr: Slight refactor of ReduxToastrProps

* react-redux-toastr: Remove confirmOptions interface

* react-redux-toastr: Remove duplicate ConfirmToastrOptions interface

* react-redux-toastr: Rewrite ToastrEmitter, modify tests to comply with version 7.0.0

* react-redux-toastr: rewrite action creators, start using ToastrState

* react-redux-toastr: Slight refactor, alphabetize stuff

* react-redux-toastr: remove unused Component state and props

* react-redux-toastr: fix TS version

* Fix version number for TypeScript
2017-07-20 09:59:37 -07:00
Alan Agius bdb2b5e94b feat(fs-extra): update to match api for 4.x.x (#18096)
* feat(fs-extra): update to match api for `4.x.x`

* style(fs-extra): add missing colons

* fs-extra: add missing breakline between interfaces
2017-07-20 09:58:16 -07:00
Toru Nagashima 239ac8e81e Fix estree ForXStatement#left to Pattern (#18100) 2017-07-20 09:55:31 -07:00
Dimitri Benin 052ce68076 [pretty-ms] introduce typings (#18258) 2017-07-20 09:49:33 -07:00