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
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
dwieeb
1660072278
[update-notifier] Make options optional for v1, add v2 types ( #23007 )
...
* [update-notifier] Make options optional
* [update-notifier] Add v2 types with isGlobal addition
* Older versions goes in subdirectories
2018-01-18 12:53:58 -08:00
Charles Vandevoorde
02be5edae6
add mozilla/readability types ( #23038 )
2018-01-18 12:50:13 -08:00
Carlton Colter
12c04f3166
Resolved Issues 22835 and 22836 ( #23036 )
...
Resolved Issues 22835 and 22836.
I also removed the deprecation warning from save. It should not be deprecated. As far as I can tell, it is not deprecated in v9.
2018-01-18 12:48:34 -08:00
Jacob Froman
ec586dfcfb
[react-native-snap-carousel] Update definitions to match v3.x changes ( #23005 )
...
* Update definitions to match v3.x changes
* Correct typo in apparitionDelay
* Update required props and ParallaxImage props
* Add ParallaxImage example to tests
* Refactor ParallaxImage example to be clearer
* Correct stray blank line
* Remove undefined from optional properties
2018-01-18 12:47:28 -08:00
Nicolas Beck
a72670d7f8
react-navigation | support functional components everywhere where ComponentClasses are s… ( #22970 )
...
* support functional components everywhere where ComponentClasses are supported
* use React.ComponentType
2018-01-18 12:46:02 -08:00
Sebastian Neira
8d73479bdd
Add Knex column by object ( #22994 )
2018-01-18 12:43:09 -08:00