Commit Graph
33331 Commits
Author SHA1 Message Date
Guillaume RODRIGUEZ 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
otociulis 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 Fox c657e49477 [yargs] Add the optional global parameter to yargs.check() (#18523) 2017-08-01 12:39:21 -07:00
Remo H. Jansen 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 Hurst 97d4234513 [Chance] Constructor seed can be string (#18532) 2017-08-01 12:32:20 -07:00
Daniel Rabe 39c1801200 Missing keys() function added (#18539) 2017-08-01 12:14:44 -07:00
Jason Schilling 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 Prater 78ea950c0c [react-native] Add DataDetectorType to WebViewPropertiesIOS (#18543) 2017-08-01 12:09:31 -07:00
elitechance 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 Mahyuddin ee0954d539 [react-native] Add SectionList ListEmptyComponent (#18512)
Added in 0.45.x
2017-08-01 11:09:20 -07:00
Flarna 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 Nestor 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 Dutour 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
Gady 32c1c2e72b Improve Cursor.count (#18504) 2017-08-01 10:22:51 -07:00
Kirill Gagarski 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 Phillips 5d4032b836 Fixes #18283 (#18404) 2017-08-01 09:12:55 -07:00
Arda TANRIKULU 82d1e38943 Added meteor/webapp definitions (#18471)
* Added meteor/webapp definitions

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

* Use correct indention
2017-08-01 08:52:09 -07:00
Hiroki Horiuchi 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 Benin cfc549b2c1 [delay] introduce typings (#18526) 2017-07-31 16:25:53 -07:00
Rich Seviora 178dd15e5e Update for React 16 (#18463) 2017-07-31 14:58:27 -07:00
Rogach 45bcdda85e [react-datepicker] align typing to v0.52.0 (#18374) 2017-07-31 14:55:47 -07:00
Martynas Žilinskas 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 Srocka 1b7656c466 [typeahead] methods whitespace and nonword in ObjTokenizer should return functions (#18242) 2017-07-31 14:53:51 -07:00
Diogo Franco 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 Srebniak 225b1dc694 [react-infinite-scroller] add missing page param to loadMore method (#18428) 2017-07-31 14:47:39 -07:00
Chris Krycho 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 Łaziuk 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 Luttin 50b8848115 Edit types for chai Assert (#18420) 2017-07-31 14:16:23 -07:00
Aliaksei Tuzik a978b727ac [amqplib] enable strictNullChecks (#18361) 2017-07-31 14:14:00 -07:00
Jinesh Shah 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 Bond 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 Bakanas 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 Lowe 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 Krycho 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
benbayard 1d74e8b21a Update index.d.ts (#18479) 2017-07-31 13:55:52 -07:00
Maarten van Vliet 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 Haddad 972aedb721 typescriptOptions: removed typeCheck option (#18487) 2017-07-31 13:49:51 -07:00
Curtis Layne 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
Hadrien de Cuzey b629f5171e [pouchdb] Update types definitions for the latest version of pouchdb (#18519)
Add an optional extended description…
2017-07-31 13:47:32 -07:00
Ali Taheri Moghaddar d85f1437b9 Fix exceljs row number (#18520)
* Re-add row number

* Test row number
2017-07-31 11:39:58 -07:00
Oliver Joseph Ash 93aa6fbb87 Revert "express-session: req.session is not optional" 2017-07-29 17:27:17 +01:00
Dimitri Benin c698079f5a [p-timeout] introduce typings (#18480) 2017-07-28 15:48:21 -07:00
QZ 1a93d8e6a8 Add identifier to semver.inc method (#18477) 2017-07-28 12:47:56 -07:00
Joel Poloney a7bc5ed2d4 Adding missing race method to angular.IQService (#18476)
* Adding missing race method to angular.IQService

https://docs.angularjs.org/api/ng/service/$q lists race(promises); as a valid method in AngularJS $q. Adding this type so it can be used accordingly.

* Fixing lint errors

* Fixing use of array
2017-07-28 12:47:05 -07:00
Jimi (Dimitris) Charalampidis 70c6450707 Add function 'toTable' for IRecordSet<T>. (#18475) 2017-07-28 12:46:27 -07:00
Dimitri Benin 9fb941e644 [p-cancelable] introduce typings (#18478) 2017-07-28 12:45:51 -07:00
Andy 0f8472649f next: Make types accessible from outside (#18416) 2017-07-28 12:42:18 -07:00
rapmue 1fcbecea99 [Recharts] improved the SVG definitions (#18467)
* merged definitions with my own. therefor added some types and made
changed the namespace back to a module.

* fixxed lint errors

* added CSSStyleDeclaration to some elements, so that they are directly styleable like in the original example

* removed commented out code

* commented why points is optional now
2017-07-28 10:51:51 -07:00
Gady 4bcdd24cad Mongodb insert many (#18473)
* Improve types for Collection.insertMany

* Add contribution

* Remove blank line
2017-07-28 10:03:05 -07:00