Tom Crockett
5dfadbe704
Require at least csstype 1.6
2018-02-12 09:44:36 -08:00
Tom Crockett
4dbac0b15c
Allow kebab case anywhere, and allow only kebab case in observables
2018-02-12 09:41:26 -08:00
Tom Crockett
a5f3f63ac0
Upgrade csstype, remove hacks
2018-02-12 09:31:55 -08:00
Tom Crockett
616d63a78e
Use csstype
2018-02-11 16:24:17 -08:00
Tom Crockett
d0adcf2e8f
Elaborate on observable testing
2018-01-23 13:00:24 -08:00
Tom Crockett
75db920668
Bump version number, add author
2018-01-23 08:56:53 -08: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
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
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
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
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