Commit Graph
40145 Commits
Author SHA1 Message Date
Andy fdb86971de react-date-range: Fix lint (#22702) 2018-01-05 15:44:32 -08:00
Justin Warner 0f9dda57a5 [Highcharts] AxisLabelFormatterOptions property "value" is incorrectly typed as a number (#22697)
* Add contextMenu event to Simulate on TestUtils

* Reverting format on save

* s.ts

* Should actually be an any, not number or string.
2018-01-05 15:44:06 -08:00
Andy 933fafbb1f webpack-dev-middleware: Fix lint (#22700) 2018-01-05 13:51:21 -08:00
Omer Bokhari 24111c927c recharts: add missing className prop to ResponsiveContainerProps (#22706) 2018-01-05 11:27:39 -08:00
Kurt Preston cea02f1111 [reactstrap] Don't declare "popper.js" module, prevent TypeScript conflict error (#22680)
* [reactstrap] Define Popper.js only internally

* [reactstrap] Switching 'declare namespace' to 'export as namespace'
2018-01-05 11:25:20 -08:00
Aleksey Bykov 10e2aa1652 Update index.d.ts (#22705)
not a maintainer anymore
2018-01-05 11:23:07 -08:00
Jacob Froman 2694db63b0 Add types for react-native-sortable-grid (#22703) 2018-01-05 11:22:41 -08:00
Andy b7301308ff massive: Fix lint (#22701) 2018-01-05 11:12:18 -08:00
Adam Binford 23ab5e0c1a Added type definitions for react-collapse (#22704) 2018-01-05 11:07:11 -08:00
Ricky Lippmann 538bee5326 amcharts linting fixed and splitted into class files (#22413)
* [FIX] make amcharts definitions work in strict mode

* [FIX] travis checks header

* clean some linting issues, export namespace, add version and provide small test

* [FIX] linting

* [MOD] split into several files for easier maintenance access

* [ADD] couple of tests
2018-01-05 11:06:28 -08:00
cvaliere f0775e098d ReadStream -> ReadableStream (#22692) 2018-01-05 09:46:09 -08:00
Frank Tan cb0c8560aa ember-modal-dialog: Add types (#22685) 2018-01-05 09:45:45 -08:00
Chung N Ho 346f64a7d7 Add export default for SubmissionError from lib. (#22688)
It is exported as default in the source code:
https://github.com/erikras/redux-form/blob/v7.2.0/src/SubmissionError.js#L11
2018-01-05 09:36:14 -08:00
Satana Charuwichitratana 3f0cbf20fc [@types/knex] Fixed search path incomplete typing (#22698)
* [@types/knex] Added multiple searchPath support for 0.14.1

* [@types/knex] Fixed whitespace lint

* [@types/knex] Fixed typedef-whitespace lint

* [@types/knex] Fixed semicolon lint
2018-01-05 09:35:01 -08:00
David Scheiner 95f835b77e Adds option for customValidator as covered in npm documentation (#22696) 2018-01-05 09:30:08 -08:00
Hanyon 04d6bedf88 add type for leaflet.mouseposition package (#22693) 2018-01-05 09:29:23 -08:00
brettmas dcee9753b8 Added semantic-ui field validation overload to form 'is valid' behavior (#22691) 2018-01-05 09:24:57 -08:00
Marek Buchar b7032abeeb new definition: multisort package (#22641)
* multisort

* multisort corrected syntax

* tsconfig, tslint fixes
2018-01-05 09:23:58 -08:00
Satana Charuwichitratana 9c3d1b1234 [@types/bech32] Changed words type to Buffer as in actual implementation (#22690) 2018-01-05 09:21:29 -08:00
Satana Charuwichitratana 04eabad09c [@types/chai] Improve chai definition to version 4.1 (#22499)
* [@types/chai] Improve chai definition to version 4.1

* Fixed error in hexo-fs, add no-unnecessary-type-assertion false

* fix lint error: no-unnecessary-type-assertion
2018-01-05 09:20:32 -08:00
Dennis Coh 7865985f04 [@types/react-dates] Add missing firstDayOfWeek optional prop to DayPickerRangeController component (#22689) 2018-01-05 09:18:01 -08:00
Andy d28699513a node: Fix whitespace (#22694) 2018-01-05 08:18:22 -08:00
Munir Ahmed Elsangedy cba95bf187 Remove last level of version in header (#22686) 2018-01-04 17:51:33 -08:00
Fresh Off The Boat d990ecbba1 @types/node-schedule: Add an optional parameter to the type JobCallback (#22606)
* Update type `JobCallback`

- `fireDate` is an optional parameter

* @types/node-schedule: Add a parameter to the type `JobCallback`
2018-01-04 17:22:17 -08:00
Chris Mohr 9a4a3b6418 add jest mockName and getMockName (#22682) 2018-01-04 14:31:11 -08:00
afholderman d6eafb8ea0 Add option functions to props (#22681) 2018-01-04 14:30:43 -08:00
Munir Ahmed Elsangedy a0d47c6b68 Update storybook__addon-notes (#22669)
* Update storybook__addon-notes

This implementation is deprecated in version 3.3.3

* Update storybook__addon-notes-tests.tsx
2018-01-04 14:06:31 -08:00
julia-lin d0dc25c5ab add optional options for libxml parseXmlString (#22679) 2018-01-04 13:18:25 -08:00
Paul Taylor 1d0b6b7e84 add export to text-encoding-utf-8 types (#22634)
* add text-encoding-utf-8 export

* add text-encoding-utf-8 namespace export
2018-01-04 13:02:18 -08:00
Amazing Turtle 5cee38609b Updated to massive 4.6 (#22667) 2018-01-04 12:29:29 -08:00
Tyson Andre c219fc824c Add additional events emitted by kafka-node's Client (#22678)
Previously, only KafkaClient (subclass) had signatures for `on()`.
However, Client and KafkaClient emit many of the same events.
- See https://github.com/SOHU-Co/kafka-node/blob/master/lib/client.js
  and https://github.com/SOHU-Co/kafka-node/blob/master/lib/kafkaClient.js
  (Search for the string `emit(`)

zkReconnect is exclusive to Client, and socket_connect is exclusive to
KafkaClient. TypeScript's type checker warns if I put on() declarations
in KafkaClient. (Haven't tried duplicating.)
2018-01-04 12:29:11 -08:00
Andy a685fea8b2 Update CODEOWNERS (#22677) 2018-01-04 12:28:16 -08:00
Matthias Dailey 1d22401957 Add mathjs createUnit() (#22675) 2018-01-04 12:26:09 -08:00
Andy 7ed6c2081d minimatch: Work with ReadonlyArray (#22674) 2018-01-04 12:25:08 -08:00
Donald Pipowitch 62864b2ecd Create correct major version for webpack-dev-middleware (fixes bugs from #22267) (#22661)
* fix bugs from #22267

* try to fix "Older version 1 must have a path mapping for itself." error
2018-01-04 09:43:45 -08:00
张嘉永 a33af86116 update sequelize declare (#22616)
* update sequelize declare

* sequelize add testcase for datatypes
2018-01-04 09:36:02 -08:00
Bernd Hirschmann 06aaceffba Add defaultLocale (#22665) 2018-01-04 09:35:43 -08:00
Kevin Kuszyk fa5b175189 [cucumber] Update the HookScenarioResult to match the v3 api (#22651) 2018-01-04 09:28:18 -08:00
King Wang ceb0c84473 Add missing backgroundColor for SystemRenderer (#22660)
According to http://pixijs.download/release/docs/PIXI.SystemRenderer.html
2018-01-04 09:27:42 -08:00
Junbong Lee 709070b1fb Add new type definition for react-date-range. (#22638)
* Add new type definition for react-date-range.

* Fix CI build fails.

* Fix type of properties of Range interface.
2018-01-04 09:26:45 -08:00
Klaus Meinhardt ff8a4cfaa2 resolve: fix type of readFileSync (#22571) 2018-01-04 09:25:40 -08:00
Klaus Meinhardt 46afc73cfb node: add module.paths (#22578) 2018-01-04 09:25:08 -08:00
Klaus Meinhardt c9f8a8f8be Add is-negated-glob (#22573)
* Add is-negated-glob

* Use ImportEquals instead of namespace import
2018-01-04 09:24:20 -08:00
Matthias Dailey e3c87baad7 Add Cylindrical typings (#22659) 2018-01-04 09:23:38 -08:00
Evan Shortiss 98f1d85679 Fixed - nodejs core typing for path.resolve args (#22567)
* Fixed - nodejs core typing for path.resolve args

* fix in all versions
2018-01-03 17:03:06 -08:00
headdetect d23fe00922 Add zipcodes definitions (#22584)
* Add zipcodes definitions

* Updating zipcdes readme.md

* Delete README.md

* ZipCodes : Updating definitions export structure
2018-01-03 16:39:56 -08:00
Martin Feckie 6be899ad46 Improve typings for Enumerable (#22523)
* Fix typo Enumberable -> Enumerable

* Set return type to Enumerable of filter, reject etc to support chaining

* findBy value type should be any, not string

* Convert return type for Enumerable to NativeArray<T>
2018-01-03 16:06:45 -08:00
AJ Richardson 3f28d2ed00 lodash: _.get should work with NumericDictionaries (#22619)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* lodash: add one more NumericDictionary overload for _.get

* lodash: more reasonable index for _.get tests
2018-01-03 16:06:27 -08:00
York Yao 0e03b5f45d add types of pangu (#22643)
* add types of pangu

* remove default export and unused namespace
2018-01-03 16:06:05 -08:00
Olaf Tomalka abb6cbad16 Fix Node's path.format() requiring all options (#22525)
* Fix Node's path.format() requiring all options

The bug manifested during use of path.win32 and path.posix submodules.
Both functions required all of the options to exist which is not
the case as some override others.
Further research indicated that previous Node versions were also
susceptible, up to v4.

I've used the Typescript's Partial<> type which makes all properties
optional, allowing for easier maintenance and readabillity at the cost
of now requiring Typescript 2.1, which I believe is a good trade-off.

* Revert the decision to use TS 2.1 in @types/node

Updating Typescript version would require to update
all other types that rely on Node, which may be quite a lot.
Fixing a bug is not a big enough reason to add new version to all
of those packages.
2018-01-03 14:44:18 -08:00