Commit Graph
33342 Commits
Author SHA1 Message Date
Dimitri BeninandSheetal Nandi 2512a18273 [p-map] introduce typings (#18544)
* [p-map] introduce typings

* [p-map] simplify according to review discussion
2017-08-01 16:15:04 -07:00
Vojtech JasnyandSheetal Nandi 0860eda60e Add missing shelljs configuration options (#18548) 2017-08-01 15:22:14 -07:00
Umar BolatovandSheetal Nandi 0b2916b41e Add type definitions for jasmine-enzyme (#18549) 2017-08-01 15:09:36 -07:00
FaithForHumansandSheetal Nandi ad3c4168c3 Updating csv-stringify to inclue array of objects (#18545) 2017-08-01 14:58:27 -07:00
Junyoung Clare JangandSheetal Nandi ec1669c6a3 [color] update types for color package to 2.0 (#18389)
* create types for color package

* Fix Color class to interface
2017-08-01 14:54:00 -07:00
LyraelRayneandSheetal Nandi 7996db4cd9 [redux-form] added additional tests to test and demonstrate type infe… (#18502)
* [redux-form] added additional tests to test and demonstrate type inference when both initialValues and validate are present

* Added registeredFields property to InjectedFormProps

Done by request of @LKay to avoid unnecessary small pull requests
2017-08-01 14:52:44 -07:00
AndyandSheetal Nandi 4fddc63dab Recommend to use ReadonlyArray (#18429) 2017-08-01 13:21:00 -07:00
Sl1MBoyandSheetal Nandi ec42f811b7 Updated definition to match gridstack v0.3.0 (#18407) 2017-08-01 13:20:09 -07:00
Bradley AyersandSheetal Nandi ed73a5a303 Narrow type for Plugin#getState() return value. (#18395) 2017-08-01 13:16:45 -07:00
wald-tqandSheetal Nandi 6807e9609f Requirejs: Add support for string[] in shim configuration (#18376)
* Fix case of string array for dependencies.

* Fix comments, use JSDoc comments.
2017-08-01 13:06:37 -07:00
Andrew StegmaierandSheetal Nandi 1d1e4cc8cc [Handsontable] Add support for Hooks interface (#18358)
* Add all types for 'Hooks' API

* Fix linting errors.

* Replace Function type with a function signature.
2017-08-01 13:05:15 -07:00
Guillaume RODRIGUEZandSheetal Nandi 2ea2588a33 Improvements for quill (#18209)
* Add root quill editor

* Improvements

- Typescript syntax
- DefinitelyTyped 2.0 syntax
- Add new Quill experimental API

* Fix namespace error
2017-08-01 12:56:15 -07:00
otociulisandSheetal Nandi c8e95db472 Adding diacritics package (#18509)
* Adding diacritics package

* Adding linter

* Fixing linting errors

* Fixing warnings and errors

* Removing unnecessary namespace
2017-08-01 12:54:31 -07:00
Jed FoxandSheetal Nandi c657e49477 [yargs] Add the optional global parameter to yargs.check() (#18523) 2017-08-01 12:39:21 -07:00
Remo H. JansenandSheetal Nandi 29ed1be834 Added missing option tickCount (#18535)
As you can see the tickCount property is available in JS https://github.com/recharts/recharts/blob/709b1da5d870de1dc52f6225acf5f6a207593be1/src/cartesian/YAxis.js#L33
2017-08-01 12:34:00 -07:00
Justin Ryan HurstandSheetal Nandi 97d4234513 [Chance] Constructor seed can be string (#18532) 2017-08-01 12:32:20 -07:00
Daniel RabeandSheetal Nandi 39c1801200 Missing keys() function added (#18539) 2017-08-01 12:14:44 -07:00
Jason SchillingandSheetal Nandi a51641475a [TinyMCE] Fix content_css attribute type in Settings weak type (#18542)
Docs: `*Type*: String, Array`
https://www.tinymce.com/docs/configure/content-appearance/#content_css
2017-08-01 12:12:02 -07:00
Al PraterandSheetal Nandi 78ea950c0c [react-native] Add DataDetectorType to WebViewPropertiesIOS (#18543) 2017-08-01 12:09:31 -07:00
elitechanceandSheetal Nandi 1f6037a629 This is a new definition for lambda-phi npm package (#18485)
* Initial import for lambda-phi typings

* Fix test and index.d.ts after running npm run lint lambda-phi
2017-08-01 11:36:43 -07:00
Kamal Fariz MahyuddinandSheetal Nandi ee0954d539 [react-native] Add SectionList ListEmptyComponent (#18512)
Added in 0.45.x
2017-08-01 11:09:20 -07:00
FlarnaandSheetal Nandi 34d4afebc1 [node] Update async_hooks according to renaming done in 8.2.0 (#18530)
- currentId() => executionAsyncId()
- triggerId() => triggerAsyncId()

see https://github.com/nodejs/node/pull/13490
2017-08-01 10:49:41 -07:00
Grant NestorandSheetal Nandi 1fd0dba186 Add declarations for "plotly.js/lib/core" (#18392)
* Add declarations for "plotly.js/lib/core"

* Add "lib/core.d.ts" to tsconfig

* Use global import

* Add test for lib/core.d.ts
2017-08-01 10:29:32 -07:00
Mathieu DutourandSheetal Nandi 2a641a97bf add microrouter types (#18500)
* add microrouter types

* add params field to IncomingMessage

* fix lint

* use micro types for RequestHandler
2017-08-01 10:26:32 -07:00
GadyandSheetal Nandi 32c1c2e72b Improve Cursor.count (#18504) 2017-08-01 10:22:51 -07:00
Kirill GagarskiandSheetal Nandi 12ced24cf2 Explicitly specify possibly nullable types in CodeMirror (#18371)
* Explicitly specify possibly nullable types in CodeMirror

* scrollTo optional args
2017-08-01 10:22:11 -07:00
Alexander James PhillipsandAndy 5d4032b836 Fixes #18283 (#18404) 2017-08-01 09:12:55 -07:00
Arda TANRIKULUandAndy 82d1e38943 Added meteor/webapp definitions (#18471)
* Added meteor/webapp definitions

* Meteor modules now seperated
2017-08-01 09:10:39 -07:00
Simon HøjbergandAndy 706ba7a529 Add ramda.traverse (#18424)
* Add ramda.traverse

* Use correct indention
2017-08-01 08:52:09 -07:00
Hiroki HoriuchiandGitHub 0df7e8bc93 Merge pull request #18490 from OliverJAsh/revert-18039-patch-10
Revert "express-session: req.session is not optional"
2017-08-01 11:52:11 +09:00
Dimitri BeninandSheetal Nandi cfc549b2c1 [delay] introduce typings (#18526) 2017-07-31 16:25:53 -07:00
Rich SevioraandSheetal Nandi 178dd15e5e Update for React 16 (#18463) 2017-07-31 14:58:27 -07:00
RogachandSheetal Nandi 45bcdda85e [react-datepicker] align typing to v0.52.0 (#18374) 2017-07-31 14:55:47 -07:00
Martynas ŽilinskasandSheetal Nandi edbbc0dd56 [react-select] Fixed and updated (#18287)
* Added tslint. Fixed some dtslint errors.

* Changed from empty style object to React.CSSProperties.

* Changed from any to dictionary props.

* Created prop handlers types.

* Fixed props return types and Handlers return types.

* Added options. Added missing focus method in ReactSelect.

* Rewritten tests.
2017-07-31 14:54:59 -07:00
Michael SrockaandSheetal Nandi 1b7656c466 [typeahead] methods whitespace and nonword in ObjTokenizer should return functions (#18242) 2017-07-31 14:53:51 -07:00
Diogo FrancoandSheetal Nandi 2b0d0375e6 Add react-loadable TS2.4 tests (#17965)
* Add tests using import() to react-loadable

* Fix lint errors in react-loadable tests

* Add comment to react-loadable to clarify a common issue
2017-07-31 14:48:19 -07:00
Piotr SrebniakandSheetal Nandi 225b1dc694 [react-infinite-scroller] add missing page param to loadMore method (#18428) 2017-07-31 14:47:39 -07:00
Chris KrychoandSheetal Nandi 9b53cc27cf Update RSVP and its Ember dependents. (#18383)
- Add default export and test code to RSVP, including sample code from
  the RSVP library.
- Use imported RSVP types in Ember and ember-testing-helpers definitions.
- Set minimum TS version in RSVP, Ember, and ember-testing-helpers.
- Fix ember-testing-helpers header.
- Make RSVP a two-type-parameter type; update Ember typedefs accordingly.
- Update authors, definitions link in RSVP header.
2017-07-31 14:47:19 -07:00
Tomek ŁaziukandSheetal Nandi 6c4db41530 [sinon-express-mock] express compatibility (#18307)
* express compat

improve typings and make them compatible with express itself

* assert

* assert fix
2017-07-31 14:17:23 -07:00
Shaun LuttinandSheetal Nandi 50b8848115 Edit types for chai Assert (#18420) 2017-07-31 14:16:23 -07:00
Aliaksei TuzikandSheetal Nandi a978b727ac [amqplib] enable strictNullChecks (#18361) 2017-07-31 14:14:00 -07:00
Jinesh ShahandSheetal Nandi 01b1d90bc2 Added Boomify as per the new API [types/boom/index.d.ts] (#18363)
* Update index.d.ts

* Update index.d.ts

* added boomify test
2017-07-31 14:11:28 -07:00
Michael BondandSheetal Nandi f3b3098452 aws-lambda: Add isBase64Encoded support to ProxyResult (#18450)
This is required when using Binary support in API Gateway. 
See Also: "Output Format of a Lambda Function for Proxy Integration" https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-up-simple-proxy.html
2017-07-31 14:00:31 -07:00
Deividas BakanasandSheetal Nandi 417f73ad32 [node] undefined type added to properties of dictionaries. Some TSLint TODOs resolved. (#18372)
* `undefined` type added to properties of dictionaries;
Formatting fixed;
TSLint TODOs resolved:
- adjacent-overload-signatures;
- align;
- array-type;
- callable-types;
- comment-format;
- dt-header;
- import-spacing;
- interface-over-type-literal;
- jsdoc-format;
- no-consecutive-blank-lines;
- no-padding;
- no-string-throw;
- object-literal-shorthand;
- one-line;
- only-arrow-functions;
- semicolon;
- whitespace.

* `NodeRequireFunction` `type` reverted to `interface`.
2017-07-31 13:57:11 -07:00
Andrew LoweandSheetal Nandi 3bc7dcf296 Add foreignKeyTarget and otherKeyTarget to belongsToMany method (#18448)
Defined in bookshelf docs: http://bookshelfjs.org/#Model-instance-belongsToMany
2017-07-31 13:56:33 -07:00
Chris KrychoandSheetal Nandi 382602b16a Fix some Ember definitions. (#18379)
- Add definitions for `computed.filter` and `computed.filterBy` methods.
- Add definitions for `getProperties` on Ember base object.
- Fix the `computed.map` definition to actually include the callback
- Fix the `run` method’s callback type.
2017-07-31 13:56:22 -07:00
benbayardandSheetal Nandi 1d74e8b21a Update index.d.ts (#18479) 2017-07-31 13:55:52 -07:00
Maarten van VlietandSheetal Nandi 1de0136f93 @types/gm Add GetterOptions for working with streams and identify operations (#18447)
* Add GetterOptions for working with streams and identify operations

Identify operations need to buffer readStream in memory if you
need to write()/stream() afterwards
See: https://github.com/aheckmann/gm/blob/c6a6c5a/README.md#streams

* Apply some tslint recommendations

* Add tslint.json

* Fix linting errors

* Add tslint rule to skip unified-signatures check

* Ensure geometry is passed ResizeOption
2017-07-31 13:55:17 -07:00
Aluan HaddadandSheetal Nandi 972aedb721 typescriptOptions: removed typeCheck option (#18487) 2017-07-31 13:49:51 -07:00
Curtis LayneandSheetal Nandi b6cb635c6e [recompose] Fixes many serious issues with recompose types (#18496)
The current iteration of recompose types have two issues:

1) Only a handful of HOCs infer required props from their children.
2) Even when an HOC does infer props from its children, it does not remove
requirements for props it injects.

This leads to the parent component rendering a wrapped commponent to not
realize that props an HOC is injecting have already been handled and
leads to a lot of typing issues.

This PR updates a lot of the types to infer injected types and remove /
partial them from the required props list that are passed to their
parent.

Due to a couple of typing issues in the TS language itself there are
some missing pieces, namely compose cannot currently be typed. This PR,
however, makes huge strides in correcting and inferring types in recompose.
2017-07-31 13:48:04 -07:00