Commit Graph
57967 Commits
Author SHA1 Message Date
Tim Wang 8731027ec5 Fix CI 2018-03-23 13:29:00 +08:00
Tim Wang d6c651c1b3 Add back params generic and remove remain action generic. Add support for stateless screen. 2018-03-23 13:16:51 +08:00
Craig Bruce ed99f72403 Initial commit of cast types 2018-03-23 14:15:59 +11:00
Walter Rumsby 196d13df6f Update based on PR comments 2018-03-23 16:09:12 +13:00
Ricardo De Pena 8d0bdd3e2e Fixed review items. 2018-03-22 22:41:18 -04:00
Uri Shaked 47337073e1 add types for seededshuffle 2018-03-23 03:40:30 +03:00
piq9117 bd2d2d91b8 Sanctuary
replaced all Array inputs to ReadonlyArray.
2018-03-22 19:01:21 -05:00
Alvis HT Tang a16cd3ea32 highland: add a test for the new isNil() 2018-03-22 23:54:08 +00:00
Alvis HT Tang e1806c890e highland: add the definition for the new isNil() for type guarding
This commit add the definition for the a very simple, and yet essential, isNil
function for type checking. This function is particularly useful in a consume
handler.

Example:
```
source.consume(function (err, x, push, next) {
  if (err) {
    // pass errors along the stream and consume next value
    push(err);
    next();
  } else if (_.isNil(x)) { // type guard is only possible with this function
    // pass nil (end event) along the stream
    push(null, x);
  } else {
    // pass on the value only if the value passes the predicate
    if (f(x)) {
      push(null, x);
    }
    next();
  }
});
```

See https://github.com/caolan/highland/pull/645
2018-03-22 23:48:26 +00:00
Mine Starks f2982c1754 Merge pull request #24415 from Hoishin/strict-uri-encode
add types for strict-uri-encode
2018-03-22 16:29:31 -07:00
Mine Starks 2d4676d989 Merge pull request #24411 from garfty/master
Created Glue project
2018-03-22 14:17:40 -07:00
Michael Zabka dbb40c14f8 Allow omit second key argument in crypto-js Hash functions
* Fixes DefinitelyTyped/DefinitelyTyped#24425
2018-03-22 21:39:12 +01:00
Hugues Stefanski 8a2283e0e6 d3-geo version increase 2018-03-22 21:23:19 +01:00
Hugues Stefanski bffcb83f7e d3-geo v1.10 : added projection.angle method 2018-03-22 21:20:07 +01:00
Behind The Math 2efa8936a1 Remove the need for lint exception 2018-03-22 15:53:25 -04:00
Mine Starks 6d49d37f1c Merge pull request #24460 from Scipion/master
Update atmosphere.js with optional parameter webSocketUrl
2018-03-22 12:29:17 -07:00
Mine Starks 9e51d6318d Merge pull request #24458 from Mordred/react-image-gallery
[react-image-gallery] getCurrentIndex() returns number
2018-03-22 12:28:30 -07:00
Mine Starks b2dd6aa2ad Merge pull request #24456 from no23reason/features/setTabBadge
react-native-navigation: update setTabBadge typings
2018-03-22 12:28:03 -07:00
Mine Starks c5facb8e67 Merge pull request #24442 from YaroslavRepeta/buffer-as-primary-key
[Sequelize] Add type "Buffer" as possible primary key in "findById" and its alias "findByPrimary" functions
2018-03-22 12:27:43 -07:00
Mine Starks 0a591503dc Merge pull request #24450 from petejohanson/urijs-template-parse-parts
urijs: Add URITemplate `parse` and `parts` definitions.
2018-03-22 12:27:11 -07:00
Mine Starks 08b2d3524a Merge pull request #24451 from MateuszLeo/patch-1
Missing prop 'type' in DraggableProps
2018-03-22 12:26:14 -07:00
Mine Starks 70bf8a8612 Merge pull request #24360 from alan-agius4/feature/uglify-3
feat: add types for `UglifyJS` V3
2018-03-22 12:25:34 -07:00
Alan Agius c2fd8880d7 feat: add types for UglifyJS V3 2018-03-22 19:39:13 +01:00
Mine Starks c807fa0ea9 Merge pull request #24407 from RodrigoAWeber/master
Add typings for react-native-text-input-mask
2018-03-22 11:38:38 -07:00
Mine Starks cebc1e7a4b Merge pull request #24426 from bradleyayers/patch-4
Update Jest types to fix MatcherUtils
2018-03-22 11:38:02 -07:00
Mine Starks 778231f29b Merge pull request #24454 from marcind/fnv-lite
Typings for fnv-lite
2018-03-22 11:33:18 -07:00
Mine Starks d5c9354a19 Merge pull request #24437 from soulrebel/master
Fix creation time attribute in StreamRecord of aws-lambda
2018-03-22 11:02:52 -07:00
Mine Starks 278bcd3735 Merge pull request #24401 from dryganets/sergeyd/react-native-sqlite-storage
react-native-sqlite-storage typings added.
2018-03-22 11:02:18 -07:00
AJ Richardson 67ff021363 [lodash] Add types for lodash/fp (#23532)
* 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

* Working on script to generate FP types (for #7896)

* Generate generic args and multiple overloads correctly (ish)

* Cap callback arguments

* Fix ObjectIteratee issue, merge interfaces

* Merge similar overloads

* Read and write definiton files

* Generate definitions for all functions
(still needs some tweaking)

* Add JSDoc comments to the output, fix some bugs

* Fix more fp generation bugs

* Add alias functions and special fp functions

* Fix more fp generation bugs

* Fix more fp generation bugs

* Fix more fp generation bugs

* lodash fp: cap more callbacks, use ReadonlyArray, handle special cases

* Add some tests, fix some bugs

* Remove invalid argument from flatten. Don't curry single argument functions.
But do "convert" them so aliases work.
Also fixed some tests.

* lodash fp: implement more tests, fix more bugs, improve performance

* lodash fp: implement more tests, fix more bugs

* lodash fp: add more tests, fix more bugs

* lodash fp: tests finally pass!

* Remove namespace hack

* lodash: fix tests

* lodash fp: fix lint issues

* lodash: Fix lint issues

* lodash: fix more lint issues

* lodash: make travis happy

* lodash: make travis happy (again)

* Update generate-fp script to work with new folder structure

* Lodash: update fp types after merge

* Lodash: test optimizations

* lodash: simplify some tests to avoid GC error

* lodash: simplify tests even more (and fix bugs)
2018-03-22 10:44:42 -07:00
Edward Sammut Alessi ee4eaf0cff Extend event emitter 2018-03-22 18:31:50 +01:00
Eloy Durán fbbfd7833e Merge pull request #24462 from mzikherman/add_options_to_client_schema
[graphql] Add valid options to buildClientSchema method
2018-03-22 13:03:01 -04:00
Matthew Zikherman 96e18376f4 Add options to buildClientSchema in graphql 2018-03-22 11:01:36 -04:00
Valentin Sundermann 0eb9a22740 Expand tests to cover the previous change 2018-03-22 15:57:25 +01:00
Valentin Sundermann 1e7e372777 Change return type of valueOf to bigi 2018-03-22 15:56:40 +01:00
jobeltran afbf4513e4 Update atmosphere.js with optional parameter webSocketUrl
Based on atmoshpere.js code:
   https://github.com/Atmosphere/atmosphere-javascript/blob/master/modules/javascript/src/main/webapp/javascript/atmosphere.js#L1212
   it is possible to add an optional parameter named webSocketUrl
2018-03-22 15:55:43 +01:00
Aaron Reisman 9456c18a19 Update index.d.ts 2018-03-22 20:00:02 +07:00
Martin Jantošovič 2a9a61fe14 [react-image-gallery] getCurrentIndex() returns number 2018-03-22 12:20:24 +01:00
Edward Sammut Alessi 94588ea50d Steamid typings 2018-03-22 12:08:08 +01:00
Dan Homola 064ac3cc1e react-native-navigation: update setTabBadge typings
According to docs the `badge` parameter to `setTabBadge` is mandatory
and can be set to `null` to remove the badge.
2018-03-22 10:29:22 +01:00
marcofalsitta b1c423f0f9 master: adding size option to LocalDatabaseConfiguration 2018-03-22 08:23:27 +01:00
Marcin Dobosz 596eb2ea46 Typings for fnv-lite 2018-03-21 23:36:47 -07:00
Mateusz Leo 268ae79d6e Update index.d.ts
missing prop type in DraggableProps interface
2018-03-21 16:13:50 -07:00
Armando Aguirre 55a1b5699f Merge pull request #24179 from cortopy/ethereumjs-util
create ethereumjs-util
2018-03-21 16:03:22 -07:00
Bradley Ayers e74353e025 Merge branch 'master' into patch-4 2018-03-22 09:36:01 +11:00
Juan Jimenez-Anca f1c8615679 tslint without extra rules 2018-03-21 22:19:14 +00:00
Walter Rumsby a08461c405 Tidy up 2018-03-22 11:10:51 +13:00
Mine Starks ebd0f894d0 Merge pull request #24421 from NotWoods/three-0.91
[three] Added migration changes for 0.89 -> 0.91
2018-03-21 14:44:48 -07:00
Mine Starks da268c0dff Merge pull request #24447 from pobed2/patch-1
[graphql] Add `extensions` to GraphQLError
2018-03-21 14:16:09 -07:00
Pete Johanson 07987287a5 urijs: Add URITemplate parse and parts definitions. 2018-03-21 16:17:10 -04:00
Mine Starks bd59dd5f73 Merge pull request #24362 from vajkayrene/master
Adds type support for webpack's 'uglifyjs-webpack-plugin'
2018-03-21 09:54:22 -07:00