Commit Graph
57967 Commits
Author SHA1 Message Date
Tim Wang eb413c219e Make loadFont file optional 2017-08-15 23:30:06 +08:00
Danny Cochran 2da9431df1 Make all arguments for Options optional
next-redux-wrapper uses Options -- a separate PR can add arguments there.
2017-08-15 07:47:06 -07:00
Frank Tan eaea12959d [react-redux] Do not mark ownProps as optional
According to docs, "it's always legal to provide a callback that accepts fewer arguments": https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#optional-parameters-in-callbacks

Morever, react-redux docs say that ownProps will have a value when it is specified as a callback argument: https://github.com/reactjs/react-redux/blob/master/docs/api.md#the-arity-of-mapstatetoprops-and-mapdispatchtoprops-determines-whether-they-receive-ownprops
2017-08-15 10:13:01 -04:00
Andrew Eisenberg 4b4f721766 Updates type definitions for js-yaml
Includes a more complete definition for yaml.Schema.create().
2017-08-15 07:57:55 -06:00
Maarten Mulders d57c207a00 Type definitions for Passport-GitHub (2) 2017-08-15 15:49:16 +02:00
Martin Braun b231da8563 Update yfiles-tests.ts 2017-08-15 15:47:47 +02:00
Aditya bbf02108e1 client-sessions: add definitions 2017-08-15 15:09:26 +02:00
Marc Ghorayeb ad093c1036 [node] homogenize zlib input to Buffer or string and results to Buffer 2017-08-15 14:36:40 +02:00
Pablo Rodríguez 74d10a8260 Add 'undefined' to ua-parser-js return values
The type definitions for ua-parser-js are missing undefined on
its return values. UAParser will return undefined if given an
invalid user agent string, and will also return undefined on
values that can't be figured out based on a valid string.

For instance:

const UAParser = require("ua-parser-js")
const ua = new UAParser("Fake ua")

console.log(ua.getBrowser().name) // undefined
2017-08-15 14:12:05 +02:00
mcousillas6 468ccddeac Changed typing to React.ComponentType 2017-08-15 08:59:40 -03:00
strajuser a5ba76e864 lint fixes 2017-08-15 14:49:49 +03:00
strajuser 321c3af857 -esri-leaflet-geocoder test file fix 2017-08-15 14:49:17 +03:00
Adrian Leonhard 15272b994a [chroma-js] Renamed namespace so types visible.
Renamed namespace Chroma which contains all the types to chroma so it is merged with the exported variable chroma and the types are externally visible. Added corresponding test.
2017-08-15 13:47:18 +02:00
strajuser 62497e6639 Merge branch 'master' into esri-leaflet 2017-08-15 14:45:31 +03:00
Aditya 83f35b36e9 Knex: Fix the typings for the streaming methods 2017-08-15 13:34:23 +02:00
strajuser 07b38388cb - update to 2.1 api 2017-08-15 14:16:33 +03:00
strajuser 0eb683f995 Default export fix 2017-08-15 13:11:17 +03:00
Marvin Hagemeister 256046e660 classnames: Support bind constructor 2017-08-15 11:25:54 +02:00
Daniel Lebrecht f33c73125b fixed tests 2017-08-15 10:56:33 +02:00
Anselm Rochus Stordeur f675303583 elasticsearch: Change SearchResponse _version parameter to optional
The _version parameter of an SearchResponse is optional. If you don't provide
it while indexing it is not in the SearchResponse
2017-08-15 10:53:13 +02:00
doomsower a9ed4cd4b9 [@types/googlemaps] Improve some Data and Geometry definitions 2017-08-15 11:28:29 +03:00
Dimitri Benin 911957ebf4 [on-finished] improve typings, enable strict null checks & linting 2017-08-15 10:22:47 +02:00
Dimitri Benin c02474e3d9 [on-headers] improve typings, enable strict null checks & linting 2017-08-15 09:51:52 +02:00
Martin Braun a9bb3cb531 Updated type definitions for yFiles for HTML 2.0.1.2 2017-08-15 09:51:11 +02:00
Dimitri Benin febeac2976 [vary] add typings 2017-08-15 09:36:23 +02:00
Daniel Lebrecht 063ef9dee2 fixed bugs following @dcousens review 2017-08-15 09:18:17 +02:00
Nishchal Gautam d1e720a15d remove patch version 2017-08-15 14:18:11 +07:00
Nishchal 6eb431b897 update version for react-modal 2017-08-15 14:13:23 +07:00
Nishchal Gautam 5a3cf56603 Update type definition
update type definition for contentLabel props (it was not required, but as of react-modal: 2.2.4, it's required). And order the props in same order as react-modal's source code so it's easy to compare in future.
2017-08-15 14:13:08 +07:00
Dimitri Benin c3934de22b [proxy-addr] add typings 2017-08-15 08:53:43 +02:00
Konrad Mattheis e44c9d8dd2 update API for June2017 release of Qlik Sense
Signed-off-by: Konrad Mattheis <konrad.mattheis@akquinet.de>
2017-08-15 08:41:50 +02:00
Chuang Yu 90868bf24a update @types/react-test-renderer index.d.ts
fix #18953
2017-08-15 11:38:57 +08:00
sanjaymadane d8356c7e97 Review comments addressed 2017-08-15 11:20:21 +08:00
Danny Cochran 3342c4d879 remove trailing white space 2017-08-14 17:55:53 -07:00
Danny Cochran 0380922eb5 update react-redux connect options
The existing Options had a redundant "withRef" parameter (it was already inheriting from ConnectOptions), and were missing some helper functions for diffing state and props:

https://github.com/reactjs/react-redux/blob/fd81f1812c2420aa72805b61f1d06754cb5bfb43/docs/api.md#arguments
2017-08-14 17:52:23 -07:00
Dimitri Benin d4f42ab007 [type-is] add typings (#18950) 2017-08-14 16:58:26 -07:00
Karol Janyst c4cb5120f0 Revert changes from #18637 2017-08-15 08:55:16 +09:00
Karol Janyst 1fcbcc3695 Merge remote-tracking branch 'upstream/master' into lkay/react-transition-group-tmp-fix 2017-08-15 08:53:11 +09:00
Ron Buckton 2bf813a3d1 Merge pull request #18815 from bash/master
Add util.promisify types for rimraf
2017-08-14 16:39:13 -07:00
Riku bf35326342 fix https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18615: remove node from dependencies (#18773) 2017-08-14 16:05:13 -07:00
Dave Hensley 233a374ab5 Fix "Error TS2306: File 'node_modules/@types/flowjs/index.d.ts' is not a module" (#18949) 2017-08-14 15:46:33 -07:00
Eric Eslinger 014f2bb629 fix for 18946 (#18947) 2017-08-14 15:45:43 -07:00
Derek Brans 1683e0023e Add type parameters to polymer Base::fire and set (#18756)
* Add type parameters to polymer Base::fire and set

* Bump version in header

* Remove type annotation from fire
2017-08-14 15:43:13 -07:00
Dimitri Benin b969735248 [etag] add typings (#18948) 2017-08-14 15:42:45 -07:00
Sasan ccb1510ac1 corrected: in async.queue.push(task,callback) callback is not called with the task interface. (#18821)
* correted: async.queue callback function does not use task interface.

* correct `queue.push` generic type.
2017-08-14 15:08:23 -07:00
Uwe Wiemer ec574e7dad [react-modal] Updated typings to match v2.2.2 (#18628)
* Updated react-modal typings to match v2.2.2

* Fixed tests and CI issues

* Fixed spacing

* Added missing semicolon
2017-08-14 14:17:06 -07:00
Martynas Kadiša f0ddaab8eb @storybook/addon-knobs - Add missing 'array' function declaration (#18645)
* Add missing 'array' function

* Add myself to contributors

* Add test for array

* code style

* Fix code style and bump version number to latest
2017-08-14 14:13:20 -07:00
Dimitri Benin 0095d2111c [media-typer] add typings (#18945) 2017-08-14 14:07:28 -07:00
Mohamed Hegazy 43a1348b91 Remove --allowSyntheticDefaultImports 2017-08-14 14:06:48 -07:00
Mohamed Hegazy 2ff76c2755 Remove --allowSyntheticDefaultImports 2017-08-14 14:06:21 -07:00