Commit Graph
40420 Commits
Author SHA1 Message Date
Jan Aagaard d6f4e2076d export namespace => declare namespace 2018-01-23 21:23:30 +01:00
Jan Aagaard 9de4ff1735 Revert "Update Audio, AV and Video"
This reverts commit a36d4ccc2e.
2018-01-23 21:21:57 +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
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
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
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
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
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
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
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
YairTawil fa562df8d1 fix(type/ol): add import 'ol' from 'openalyers' (#23025)
* 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'
2018-01-18 13:29:51 -08:00
Tomek Łaziuk 9b9df23750 [koa-mount] version bump (#22873)
* version fix and dtslint

* dtslint
2018-01-18 13:28:51 -08:00
Tomek Łaziuk 5fef2dbbe2 [koa-bodyparser] fix package version (#22871)
* fix version

* Update index.d.ts

* Update index.d.ts

* dtslint
2018-01-18 13:28:26 -08:00
Dimitar Nestorov 1b1867eefd [@types/react-motion] Added didLeave. (#22875)
Added didLeave to TransitionMotion props.
2018-01-18 13:27:55 -08:00
Tomek Łaziuk 05c5ec5f90 [koa-session] upgrade typings to v5.7 (#22882)
* upgrade typings

* version bump

* dtslint
2018-01-18 13:27:25 -08:00
AJ Richardson 437a2eef37 lodash: add isMatch to explicit wrapper interface, enable more lint rules (#22883)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* Enable array-type and ban-types rules

* Enable more lint rules, add isMatchWith to explicit wrapper
2018-01-18 13:25:39 -08:00
Denis Malinochkin 6fe162ecd9 feat(types): Add types for the «readdir-enhanced» package (#23022) 2018-01-18 13:15:17 -08:00
Arylo Yeung 2267e573cb Add type definition for mocha-steps (#23018) 2018-01-18 13:14:00 -08:00