Commit Graph

42556 Commits

Author SHA1 Message Date
Arthur Ozga
9a07085198 Merge pull request #24232 from aitemr/master
fix(react-navigation): add iconStyle
2018-03-15 12:26:27 -07:00
Arthur Ozga
240d0cd916 Merge pull request #24284 from stackworx/master
[react-navigation] Added types for switch navigator
2018-03-15 12:25:07 -07:00
Arthur Ozga
de2ec38f69 Merge pull request #24287 from rburgt/master
compression - added missing default filter method interface
2018-03-15 12:24:54 -07:00
Arthur Ozga
daef5696a9 Merge pull request #24286 from jambonsw/add_hash_options_to_webpack
webpack: Add hash options to config
2018-03-15 12:24:41 -07:00
Arthur Ozga
385b32ad78 Merge pull request #24260 from coyotte508/patch-2
iban - Fix incorrect function signatures, regarding the separator of printed formats
2018-03-15 12:23:58 -07:00
Arthur Ozga
6de254548a Merge pull request #24206 from kimamula/fix-ndarray.pick
[@types/ndarray] define arguments of ndarray.pick as nullable
2018-03-15 12:23:44 -07:00
Arthur Ozga
4fb017a9b6 Merge pull request #24306 from jhalborg/master
Expo - Included result.type, base64, exif in ImageLibrary API as per docs
2018-03-15 12:22:55 -07:00
Arthur Ozga
99e233850f Merge pull request #24302 from pcassis/master
tracking - methods declaration
2018-03-15 12:22:24 -07:00
Arthur Ozga
ab00fd81a7 Merge pull request #24300 from Hoishin/trash-fix-export
[trash] export = instead of export default for module.exports
2018-03-15 12:21:43 -07:00
Arthur Ozga
18949fd483 Merge pull request #24285 from DomiR/master
types/got: timeout can also be object, not just number
2018-03-15 12:20:07 -07:00
Arthur Ozga
2a4cd622fc Merge pull request #24253 from Zwartpet/highcharts-fix
Fix array definitions for highcharts gauge
2018-03-15 12:19:03 -07:00
Arthur Ozga
2d462fb841 Merge pull request #24240 from mespgh/master
add overflow to CSSObject in highcharts
2018-03-15 11:29:47 -07:00
Jeff Lau
9fb4bc7089 Lodash: Improve support for NumericDictionary collections (#24052)
* Change NumericDictionaryIterator's "key" to type "string"

* Finish updating unit tests

* Improve support of NumericDictionary.
* Update signature overloads of many methods.
* Improve many unit tests.

* Fix some mapValues overloads

* Revert changes to V3 files

* Improve _.omit to fully support Dictionary and NumericDictionary

* Remove unused DictionaryIterator typedefs

* Improve signatures of mapValues and add tons of unit tests

* Remove _.sample overloads that did not potentially  return undefined.

* Simplify definition of "AnyKindOfDictionary"

* Fix one of the _.mapValues overloads

* Delete unnecessary/incorrect comments

* Improve _.forEach unit tests

* Clean up unit tests for mapValues

* Clean up unit tests for _.map

* Add more NumericDictionary test coverage

* Fix _.map to accept a PropertyPath param instead of just a string.

* Re-add DictionaryIterator and NumericDictionaryIterator definitions
for backward compatibility.

* Revert change to support PropertyPath in _.map

* Comment out parts of _.forEach tests that fail in TS 2.4

* Fix _.unionBy tests for TS 2.3

* Comment out _.mapKeys tests that break in TS 2.4

* Comment out parts of _.forEach tests that fail in TS 2.4 (again)

* Fix _.xor test that was broken in TS 2.3

* Comment out parts of _.map tests that fail in TS 2.4

* Remove invalid tests for _.some

* Remove "object" type from definition of ObjectIterateeCustom

* Comment out _.pick tests broken in TS 2.4
2018-03-15 09:36:44 -07:00
pcassis
55411a0b81 tracking - removed duplicated declaration 2018-03-15 13:56:40 +01:00
Jesper Madsen
26eb5d5878 Included result.type, base64, exif in ImageLibrary API as per docs 2018-03-15 11:49:19 +01:00
pcassis
c32fcc6b40 tracking - methods declarations 2018-03-15 06:53:51 +01:00
Hoishin
83e6f167da bump version of the module 2018-03-15 12:22:02 +09:00
Hoishin
fdd4f12142 Update "definition by" 2018-03-15 12:13:11 +09:00
Hoishin
57d7f0448e export = instead of export default for module.exports 2018-03-15 12:08:10 +09:00
Andrew Pinkham
c0cfefc595 webpack v3: revert filename requirement
Necessary for partial configurations.
2018-03-14 14:39:17 -04:00
Andrew Pinkham
b822a843fb webpack v3: require output filename; add hash opts 2018-03-14 14:35:56 -04:00
Andy
52bde4982f socket.io: Merge namespace with exported value (#24261) 2018-03-14 10:10:41 -07:00
Eloy Durán
d474aca764 Merge pull request #24258 from alloy/relay-export-function-types
[relay-runtime] Export function types, not values.
2018-03-14 12:00:52 -04:00
Rob van der Burgt
c6e173553e @types/compression added default filter method interface 2018-03-14 16:46:19 +01:00
Andrew Pinkham
16f23e36a5 webpack: Add hash options to config 2018-03-14 11:44:31 -04:00
Dominique
3808fe6627 feat(got): add got timoutoptions
workaround for timeout

fix test
2018-03-14 16:08:47 +01:00
cliedeman
b58703728a Added types for switch navigator 2018-03-14 15:42:43 +02:00
Eloy Durán
ef640e2b2b Merge pull request #24280 from leighman/typescript-on-key-press
react-native: Correct onKeyPress type
2018-03-14 09:27:46 -04:00
Jack Leigh
23d02a78fb react-native: Correct onKeyPress type
See https://facebook.github.io/react-native/docs/0.53/textinput.html#onkeypress
This has been the case since 0.41 at least.
2018-03-14 12:05:47 +00:00
Eloy Durán
3c5b3e9908 Merge pull request #24278 from umidbekkarimov/expo-app-loading
[expo] Allow to render `<AppLoading />` without props.
2018-03-14 07:31:13 -04:00
Umidbek Karimov
964d46ab8c feat(expo): Allow to render <AppLoading /> without props for v23 and v24. 2018-03-14 16:04:53 +05:00
Umidbek Karimov
d343571977 fix: Move contribution docs from react-native to expo. 2018-03-14 15:44:50 +05:00
coyotte508
6bcd62eefb Merge pull request #1 from coyotte508/patch-3
Patch 3
2018-03-14 09:32:48 +01:00
coyotte508
d06ca98a8d Update iban-tests.ts 2018-03-14 09:31:28 +01:00
Umidbek Karimov
197971b6bf docs(expo/tsconfig): Update contributors. 2018-03-14 12:30:15 +05:00
Umidbek Karimov
7f7b5dc29e fix(expo/tsconfig): Add dom lib to add window.fetch types. 2018-03-14 12:15:48 +05:00
Umidbek Karimov
6bfae967c2 fix(expo): Allow to render <AppLoading /> without props. 2018-03-14 12:14:07 +05:00
Armando Aguirre
63ecc4d05d Merge pull request #23952 from Ragg-/dispatchr
Add typing for `dispatchr`
2018-03-13 11:19:36 -07:00
Armando Aguirre
f8eafaca6e Merge pull request #24162 from nickw444/nwhyte/prismic-dom
prismic-dom: Add initial typings
2018-03-13 11:15:29 -07:00
Armando Aguirre
5039100287 Merge pull request #24164 from Carl-Foster/stellar-sdk
[@types/stellar-sdk] New types for stellar-sdk
2018-03-13 10:38:05 -07:00
coyotte508
5a699e4e04 iban - Fix incorrect function signatures
Here is the code for the two functions of iban@1.3.0:

https://github.com/arhs/iban.js/blob/master/iban.js#L359

    /**
     * Convert an IBAN to a BBAN.
     *
     * @param iban
     * @param {String} [separator] the separator to use between the blocks of the BBAN, defaults to ' '
     * @returns {string|*}
     */
    exports.toBBAN = function(iban, separator){
        if (typeof separator == 'undefined'){
            separator = ' ';
        }
        iban = electronicFormat(iban);
        var countryStructure = countries[iban.slice(0,2)];
        if (!countryStructure) {
            throw new Error('No country with code ' + iban.slice(0,2));
        }
        return countryStructure.toBBAN(iban, separator);
    };

    exports.printFormat = function(iban, separator){
        if (typeof separator == 'undefined'){
            separator = ' ';
        }
        return electronicFormat(iban).replace(EVERY_FOUR_CHARS, "$1" + separator);
    };
2018-03-13 14:27:50 +01:00
Eloy Durán
a7bc5c1f8e [relay-runtime] Export function types, not values. 2018-03-13 14:02:51 +01:00
John Zwarthoed
9497f97736 Fix array definitions for gauge 2018-03-13 09:04:57 +01:00
Eloy Durán
5dc41ce74c Merge pull request #24243 from kevinsperrine/master
[react-native] Updated Easing.poly definition to accept number
2018-03-12 17:48:37 -04:00
Kevin Perrine
31d3b041f2 Merge pull request #1 from kevinsperrine/kevinsperrine-patch-1
Update React-Native Easing.poly definition to accept number
2018-03-12 15:03:12 -05:00
Kevin Perrine
3a4a00ee55 Update Easing.poly definition to accept number 2018-03-12 14:47:02 -05:00
Margaret Schervish
5ce583f901 add overflow to CSSObject in highcharts 2018-03-12 14:11:33 -04:00
Islam Temirbek
705de9c4e5 fix(react-navigation): add iconStyle 2018-03-12 16:34:30 +06:00
Daniel Rosenwasser
3cafa3ebdd Merge pull request #23692 from samuelneff/muicss
muicss: Types for muicss react components
2018-03-12 00:43:28 -07:00
Daniel Rosenwasser
0c334fc1c0 Merge pull request #23756 from shiftkey/add-textarea-caret-package
add textarea-caret package
2018-03-12 00:40:51 -07:00