Commit Graph
51559 Commits
Author SHA1 Message Date
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
Luiz Machado d8a9d5a314 Update index.d.ts 2018-01-21 14:30:54 -02:00
Eloy Durán 4174f17298 Merge pull request #23078 from brunolemos/patch-2
[react-native] Support space-evenly option on justifyContent style
2018-01-20 19:25:26 -05:00
Eloy Durán 0e4e502725 Merge pull request #23081 from brunolemos/patch-4
[react-native] Improve DatePickerIOS minuteInterval typing
2018-01-20 19:24:57 -05:00
shrey 59cc968668 Fixed definitions for parsers. 2018-01-20 19:22:24 -05:00
Bruno Lemos 49ab9fc0db [react-native] Improve DatePickerIOS minuteInterval typing 2018-01-20 16:11:24 -02:00
Bruno Lemos 90c7b09a6d [react-native] Support space-evenly option on justifyContent style
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [ ] Test the change in your own code. (Compile and run.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
<!--- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).-->

If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/facebook/react-native/commit/1050e0b
2018-01-20 15:41:19 -02:00
Pavel Ivanov 5326692703 @types/Knex added unnceccessay length param to table builder binary method according to knex docs. (#22962)
* added unnceccessay length param to table builder binary method

* added example of usage in tests file

* fixed missed semicolons
2018-01-20 06:25:35 -08:00
Jan Aagaard e813dac8a7 Sort regions 2018-01-20 13:35:36 +01:00
Jan Aagaard 3ff88b5fcb Sort types 2018-01-20 13:35:29 +01:00
Jan Aagaard 5e4d02dbb1 Add regions 2018-01-20 13:27:12 +01:00
Jan Aagaard d36981b3d5 Sort imports 2018-01-20 13:27:04 +01:00
Jan Aagaard 047c6883b9 Auto format 2018-01-20 13:13:12 +01:00
Jan Aagaard 103c762f06 Wrap in expo module 2018-01-20 13:07:48 +01:00
Kyle Roach 9712488558 feat(react-native-material-ui): Add onRightElementPress callback info 2018-01-20 05:10:48 -04:00
Luiz Machado 7ea322f16d new types and fixes 2018-01-19 22:56:50 -02:00
Luiz Machado 1e3b24eedc Update index.d.ts 2018-01-19 22:54:29 -02:00
Luiz Machado af0f2ed0a2 there's still some typings to create
see https://stackblitz.com/edit/types-swiper-v4?file=app%2Ftypes%2Fswiper%2Fv4%2Findex.d.ts
2018-01-19 22:39:49 -02:00
MikeDimmickMnetics c686efd51b [q] Allow thenReject to return a promise for a different type (#23029)
* Change the Promise.thenReject signature to allow matching of a
  different type.

Type-checking rejections is problematic as it's equivalent to `throw`:
you don't get a value of type T in your success callback. You get
an Error (or other thrown type) in an error callback.
2018-01-19 12:22:15 -08:00
Andrew Stiegmann d512b1f5d1 Add usePushEach flag to Mongoose Schema Options (#23042)
In order for devs to be able to work around the issues described in
https://github.com/Automattic/mongoose/issues/5574 we need to be able
to supply the `usePushEach` flag to the Mongoose SchemaOptions. This
options functionality is described in
https://github.com/Automattic/mongoose/issues/4455 and is required for
anyone who modifies arrays inline who is using Mongoose 4 and MongoDB
3.6+

Testing:
  Copied changes to local project and verified compilation worked.
2018-01-19 10:15:29 -08:00
Mohsen Azimi 17da0c5f54 WhitelistOption can be singular item in webpack-node-external (#23040) 2018-01-19 10:15:14 -08:00
UselessPickles 944b7ba283 enzyme: Improve signature of ShallowWrapper.filter and ReactWrapper.filter (#22975)
* 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.
2018-01-19 10:15:01 -08:00
Dolan b80fbe8b66 Improved typings for archiver (#23009)
* Add typings

https://github.com/DefinitelyTyped/DefinitelyTyped/issues/22944#issuecomment-357971211

* Change quotation marks

* Version bump
2018-01-19 10:13:51 -08:00
Sean McGary a8706fc330 Sequelize - Add function interface for UUID types (#22929)
Adding the function interface now allows the user to specify
a default value for UUID types:

```
const TestModel = sequelize.define('test_model', {
	uuid: {
		type: Sequelize.UUID,
		defaultValue: Sequelize.UUIDV4()
	}
});
```
2018-01-19 10:13:31 -08:00
Adam Bowles 4354972427 Add 'dark' to type prop (#23031) 2018-01-19 10:12:46 -08:00
Rudolph Gottesheim 09bc77ae3d Fix cleave.js (Cleave is a class, not a function) (#23046)
* Fix cleave.js (Cleave is a class, not a function)

See examples at https://github.com/nosir/cleave.js

* Add whitespace
2018-01-19 10:12:29 -08:00
showmeear 5e86d4b159 Update csv-stringify option to get object as columns (#23045) 2018-01-19 10:09:53 -08:00
Sami Jaber 263bac143f ExpressJS: extend EventEmitter (#23050)
The ExpressJS Application object extends EventEmitter: https://github.com/expressjs/express/blob/c0136d8b48dd3526c58b2ad8666fb4b12b55116c/lib/express.js#L42

This change reflects that in its type definition.
2018-01-19 10:09:27 -08:00
paverbool d0ae43f17d "block" property of "Card" has been deprecated (#23032)
* "block" property of "Card" has been deprecated

* Add definition for v5 & remove from v4
2018-01-19 10:08:56 -08:00
Jeremy Wells e2cb09b5ae [@types/react-onsenui] Add SpeedDial, SpeedDialItem, Segment, Toast components and add missing properties. (#22940)
* [@types/react-onsenui] Add SpeedDial, SpeedDialItem, and Segment component types

* [@types/react-onsenui] Add Toast component

* [@types/react-onsenui] Add missing props to Tabbar component

* [@types/react-onsenui] Tabbar renderTabs return type

* [@types/react-onsenui] Tabbar animation is optional

* [@types/react-onsenui] Tab label and icon

* [@types/react-onsenui] Fix version, add missing style and className properties

* [@types/react-onsenui] Add style and className properties to Toast

* [@types/react-onsenui] tslint fixes

* [@types/react-onsenui] Property fixes for PR

Toast isOpen is required

Tabbar index and renderTabs are required

Tabbar animation does not accept 'fade'

Tabbar onSwipe takes arguments

* [@types/react-onsenui] tslint fixes
2018-01-19 09:07:16 -08:00
CRIMX f5e3009d3a Updated to v2.2.4 2018-01-19 14:04:36 +08:00
Sebastian Neira d67b9f5c77 Update nconf required() and add any() (#22887) 2018-01-18 19:09:35 -08:00
Thomas Conner a00af36a8b Add new option for LokiJS collection constructor (#22967)
* Add new option for LokiJS collection constructor

* Fix typo
2018-01-18 19:07:17 -08:00
Andrew Stiegmann (stieg) e5545e729b Add usePushEach flag to Mongoose Schema Options
In order for devs to be able to work around the issues described in
https://github.com/Automattic/mongoose/issues/5574 we need to be able
to supply the `usePushEach` flag to the Mongoose SchemaOptions. This
options functionality is described in
https://github.com/Automattic/mongoose/issues/4455 and is required for
anyone who modifies arrays inline who is using Mongoose 4 and MongoDB
3.6+

Testing:
  Copied changes to local project and verified compilation worked.
2018-01-18 16:00:14 -10:00
Renaud Chaput 8289d12c75 yup: add setLocale and update with 0.24 changes (#23033)
* Add `setLocale` definition
* Add `lessThan`, `moreThan` on `number` (according to https://github.com/jquense/yup/blob/master/CHANGELOG.md)
2018-01-18 13:53:45 -08:00
Mathias Lykkegaard Lorenzen 5f5ccc3872 for for scenario where passing in simple types to ko.toJS did not work (#23015)
* fix for rather critical oversight

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-01-18 13:34:04 -08:00
Trivikram 879f9b3d81 pino: update project URLs in the comments (#22885) 2018-01-18 13:31:04 -08:00