Commit Graph
57967 Commits
Author SHA1 Message Date
Andy 37685e11dd Add tslint disables for no-const-enum (#23134) 2018-01-23 18:19:36 +00:00
suXin c2f0e4aea1 Add @types/forms (#23103) 2018-01-23 10:19:03 -08:00
UselessPickles 2e2da6027f [enzyme] Fix signature of the "filter" method. (#23108)
* Improve signature of ShallowWrapper.filter and ReactWrapper.filter to
return appropriate specific types when the apram is a ComponentClass or
StatelessComponent.

* Improve signature of filter() to return a wrapper with HTMLAttributes props when a string CSS selector is provided.

* Improve unit tests to properly test various signatures of methods that are expected to return wrappers with different props types.

* [enzyme] Fix signature of "filter" when param type does not narrow down the possible type of the element/component collection.

* [enzyme] Fix incorrect use of "this" return type in "filter" signatures.
2018-01-23 10:18:02 -08:00
Andy 716acfd6b2 core-js: Fix lint (#23135) 2018-01-23 10:15:13 -08:00
Akos Krivachy ae52dc806c Update @types/username typings from 1.0.1 to 3.0.0 (#23112)
The API has been promisifyed, instead of using a callback based one
2018-01-23 10:12:15 -08:00
jimwards17 e4bb06153a Update index.d.ts (#23117)
see this related issue that is now closed: 
https://github.com/leongersen/noUiSlider/issues/813

When calling get type should be strings
2018-01-23 10:11:39 -08:00
lihao e2a3302098 export mongodb Logger (#23122)
* export mongodb Logger

* format file
2018-01-23 10:11:10 -08:00
YairTawil 27a4ffdc6f types/openlayers - updates for olx.interaction.SelectOptions and ol.View (#23123)
* Initialize ol type

* Type definitions

* import openlayers

* Update tsconfig.json

* Update index.d.ts

* fix(): no-declare-current-package

* lint(): new line at end of files

* fix(test, lint)

* fix(tsconfig): format tsconfig.json

* fix(types/ol): add import 'ol' from 'openalyers'

* types/openlayers add hitTolerance to SelectOptions

* update 'Definitions by'
2018-01-23 10:10:26 -08:00
Daniel Rosenwasser acbc6ad7f5 Fixed typo and updated test for 'silent' option in 'gulp-connect'. (#23124) 2018-01-23 10:09:50 -08:00
CodeAnimal ede9553e0c Update Stripe package (#23083)
* Update ICard#customer type def

Add `string` to `customer` type.

* Add pay options to Invoices#pay method

* Add tests

* Change IMetadata to a `type` equal to `any`

See tests as to the reasons why I believe it's useful for it to be
changed.

* Add proration creation options to SubscriptionItems

Plus tests.

Documentation:
https://stripe.com/docs/api#create_subscription_item

* Update IMetadata definition with tests

* Add IOptionsMetadata
2018-01-23 09:34:26 -08:00
Tom Crockett 75db920668 Bump version number, add author 2018-01-23 08:56:53 -08:00
Kalle Ott ec269fbabe removed eslint-comment 2018-01-23 10:36:20 +01:00
Kalle Ott ea5d8731d5 added todos for any-types 2018-01-23 10:35:53 +01:00
Kalle Ott 3fd04b1342 narrowd down test file for core lib 2018-01-23 10:35:34 +01:00
Tom Crockett 1d931013bf Tweak 2018-01-23 00:39:49 -08:00
Tom Crockett b3a964504c Add some more type assertions to the test 2018-01-23 00:36:55 -08:00
Tom Crockett e73013b99b Add some type error expectations 2018-01-23 00:33:24 -08:00
Tom Crockett 9df6a9f1d4 Adapt TypeStyle's CSS typings to JSS 2018-01-23 00:25:00 -08:00
Tom Crockett a0e3aae50f Remove rxjs dependency, use observable defn from flow 2018-01-23 00:11:13 -08:00
Tom Crockett 64113e42c7 Use TypeStyle's CSSProperties 2018-01-23 00:00:12 -08:00
Tom Crockett 3157b3c049 Allow Style to be an Observable 2018-01-22 23:50:34 -08:00
Tom Crockett c5c1d63e4c Make JSS use a Name type parameter consistently, more accurate Style type 2018-01-22 22:22:44 -08:00
Niels Swimberghe ff671eae53 [Actions-on-google] add Coordinates interface for long latitude (#23084)
* [actions-on-google] Add coordinates interface with lat and long

The coordinates property typed as object, which forced users to cast coordinates manually.
With the Coordinates interface that is not necessary anymore.

* Fix missing semi colons
2018-01-22 13:47:17 -08:00
Shrey Jain 09091ad257 [superagent] Fixed definitions for parsers. (#23086)
* Fixed definitions for parsers.

* Different parser functions signatures for browser and node.
2018-01-22 13:46:57 -08:00
Matt R. Wilson b2e070fa93 [@types/request-promise] Stop extending Promise. (#23087)
Both `@types/request-promise` and `@types/request-promise-native` were
extending their particular `Promise` implementations, however, the
actual libs don't extend these objects. All they do is add logic to the
`Request.prototype.init` function and "expose" a few defined methods
from theit `Promise` implementations.

This came up while looking into the issue on #23004.
2018-01-22 13:46:03 -08:00
Boris Breuer 04a5483d77 Modified Jasmine (#23094)
* According to the documentation, execute arguments are optional.
See  https://jasmine.github.io/2.3/node.html for more information.

* Added name to package header.

* The onComplete callback comes with a boolean indicating if the tests pased.
Specify a custom onComplete callback. The callback is given a boolean of whether all of the specs passed or not. This is often used to message a status to task runners like grunt.
See also https://jasmine.github.io/2.3/node.html.
2018-01-22 13:45:04 -08:00
David Noreña Perez 35f2d7daa9 Fix auth0-js Auth0UserProfile (#23098) 2018-01-22 13:43:10 -08:00
Kalle Ott 419889311a Delete .prettierrc 2018-01-22 21:10:39 +01:00
Kalle Ott ee1c3ee4d5 Delete .prettierrc 2018-01-22 21:10:29 +01:00
Jan Aagaard f86734a632 Add vector-icons 2018-01-22 20:49:27 +01:00
Jan Aagaard a36d4ccc2e Update Audio, AV and Video 2018-01-22 20:48:17 +01:00
Jan Aagaard 79220e6f3d Use declare instead of export 2018-01-22 20:36:41 +01:00
Jan Aagaard b24bc6a6e6 Align brackets 2018-01-22 20:26:15 +01:00
Jan Aagaard be1017ac30 Move Asset to alphabetical position 2018-01-22 20:24:48 +01:00
Jan Aagaard f62103f2ab Move AppLoading to alphabetical position 2018-01-22 20:24:11 +01:00
Jan Aagaard c4a393bec4 Move Amplitude to alphabetical position 2018-01-22 20:23:35 +01:00
Jan Aagaard 485a9e65e8 Auto format 2018-01-22 20:14:30 +01:00
Jan Aagaard e773f10f41 Remove 'expo' namespace 2018-01-22 20:14:19 +01:00
Kalle Ott 5f846b17b4 added declarations for react-router-navigation packages 2018-01-22 19:27:37 +01:00
WORMSS 2ededd19ee Python Shell (#23104)
Changed to python-shell to extends EventEmitter and removed on function
since it is specified in EventEmitter
2018-01-22 08:58:42 -08:00
Niklas Mollenhauer 29b272bc7b Narrow some interface type members (#23106) 2018-01-22 08:58:16 -08:00
Matas Dailyda 0bab7d15d8 Add ReactTableDefaults (#23107)
Added missing export.
2018-01-22 08:57:46 -08:00
Shrey Jain b6c91649b4 Different parser functions signatures for browser and node. 2018-01-22 10:28:54 -05:00
KonstantinKai e61c4b4160 tiny corrections, update original source from main repo 2018-01-22 12:28:57 +02:00
KonstantinKai 6388305090 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into expo-from-janaagaard75 2018-01-22 12:27:17 +02:00
Josh Goldberg 4b3b60fd82 Used a ClassLike interface because of ban-types 2018-01-21 22:05:01 -08:00
Josh Goldberg 983acb1676 Bumped jest version in types to 22.0.5 2018-01-21 19:33:28 -08:00
Josh Goldberg 7ae2eba533 Allowed functions in jest's describe
As of 22.0.5, jest allows classes for describe blocks.
2018-01-21 19:29:28 -08:00
John Downs 5070e64b41 Add request.getOperationType() method 2018-01-21 14:42:56 -08:00
Leonard Thieu 32a23a8139 [jquery] Update to jQuery 3.3. (#23095)
* [jquery] .addClass(), .removeClass(), and .toggleClass() methods now accept an array of classes.

* [jquery] Add test for overload of .toggleClass().

* [jquery] Add jQuery 3.3 deprecations.
2018-01-21 20:00:14 +00:00