Troy Lamerton
38c005479f
add scope(s) to authorization code flow ( #25096 )
2018-04-18 12:34:15 -07:00
Pupskuchen
6b7871531f
iframe-resizer: fix options property type ( #24970 )
...
* fix iframe-resizer options property type
add string as valid value type for bodyMargin
* iframe-resizer: change spacing
2018-04-18 12:33:39 -07:00
Atanas Atanasov
e1894fb7e9
upgrade gijgo typings to version 1.9.6 ( #25093 )
2018-04-18 12:32:45 -07:00
Denis Tokarev
658cdc180f
iScroll: Update types for zoom-related functionality ( #25090 )
...
* iScroll: zoom takes scale as first parameter
iScroll's zoom() method takes scale as the first parameter. The rest parameters are optional according to the documentation:
https://github.com/cubiq/iscroll#zoomscale-x-y-time
* iScroll: Update tests
Update tests for iScroll to reflect the changes
* iScroll: iScroll instance has 'scale' public numeric property
2018-04-18 11:28:34 -07:00
Jarom Loveridge
05650a7853
Add models hash object. ( #25078 )
2018-04-18 11:26:14 -07:00
Jarom Loveridge
b244b1661a
Add additional SSL configuration options. ( #25079 )
...
http://mongodb.github.io/node-mongodb-native/3.0/api/Server.html
2018-04-18 11:25:46 -07:00
Bruno Lemos
a8de5cf374
[react-native] Add missing layout props ( #25081 )
...
borderEndWidth, borderStartWidth, display, end, marginEnd, marginStart, paddingEnd, paddingStart, start
https://github.com/facebook/react-native/blob/master/Libraries/StyleSheet/LayoutPropTypes.js
2018-04-18 11:25:23 -07:00
Lucas Terra
42c65bb609
[recompose] Add aliases to recompose sub modules. ( #25069 )
2018-04-18 09:59:23 -07:00
ikokostya
cfbc3cd2a0
[got] Update to 8.3.0 ( #25098 )
...
* [got] Update to 8.3.0
Fixes #23454
* Return support for legacy url object
* Simplify agent option type
Because https.Agent is compatible with http.Agent
* Rename RequestOptions interface to InternalRequestOptions and move outside got namespace
* Add myself to "Definitions by" section
2018-04-18 09:58:55 -07:00
Jarom Loveridge
147bef129f
Update SSLOptions to match documentation. ( #25080 )
2018-04-18 09:47:35 -07:00
Stephen Haberman
59648ae466
enzyme: Fix find override for components with strict null checks. ( #24811 )
...
* Fix `find` override for components with strict null checks.
With strict null checks enabled, code like:
shallow(...).find(SomeComponent)
Would return ShallowWrapper<any, any>.
This is because the `find` override:
find<P2>(component: ComponentClass<P2>): ShallowWrapper<P2, any>;
Would not match, and instead fallback on find(EnzymePropSelector).
The ComponentClass<P2> did not match because the `new(props?, context?)`
does not actually match to `new(props)`, as polymorphically `props` is
a restriction on `props?`.
Instead, we explicitly model each potential constructor pattern,
no-arg, 1-arg, 2-arg, and union them together.
This also allows enabling strict null checks for the entire enzyme
typings.
This required a few tangential changes, e.g. changing the test's
numberProp?/stringProp? to non-optional, as with null checking
enabled several of the existing tests were making non-null safe
accesses (e.g. the reduce/map/etc. checks).
* Change let to const to fix tslint error.
* Simplify prefix fix, just need to change props? to props.
Also, I changed the new return type from Component<Props, any> to
Component<Props, {}>.
This more exactly matches the ComponentClass declaration and fixes
what I was seeing with React Native where:
find(View) --> returns ReactWrapper<ViewProperties, any>
find(Button) -- returns ReactWrapper<any, any>
After changing the new return type to Component<Props, {}> then
find(Button) successfully returns ReactWrapper<ButtonProperties, any>.
* Fix lint error, as {} is already the default type.
2018-04-18 09:46:55 -07:00
Adam Laycock
d38890b46a
update to type-screeps 2.3.0 ( #25086 )
2018-04-18 09:46:05 -07:00
Kagami Sascha Rosylight
713eb722d9
[webidl2] extAttrs.rhs can be null ( #25092 )
2018-04-18 09:45:49 -07:00
Alexander Christie
3204acf72a
Add support for the Collation argument to Cursors ( #25099 )
...
http://mongodb.github.io/node-mongodb-native/3.0/api/Cursor.html#collation
2018-04-18 09:44:50 -07:00
Don Denton
932727f578
Use partials for setting methods which take options ( #24959 )
...
This commit addresses a problem where the following would produce a type
error, even though it was valid code:
```typescript
setCanvasData({left: 23})
```
I have changed the argument type for all of the `setXXX` methods which
accept an object as their argument. In the spec files for cropperjs,
@fengyuanchen uses these objects as partials for setters. So I have
made the type definitions follow that same pattern.
I changed the `cropperjs.CropBoxData` type to act the same way as well.
It looks like it was changed at some point, I am guessing to allow it
to be used as a partial in the `setCropBoxData` method. Since, like all
the other data structures here, it contains all members when you `get`
it, I have made all members required parts of the object and changed
the setter method to accept a partial.
I hope this all makes sense. Basically, I went from the first line below
to the second.
```typescript
setXXXXX(thing: cropperjs.SomeInterface): void
setXXXXX(thing: Partial<cropperjs.SomeInterface>): void
```
Then I changed `cropperjs.CropBoxData` to fit this new system.
2018-04-17 18:12:42 -07:00
Chris Krycho
cfa60b7c66
Ember: Make RegistryProxyMixin.register options optional. ( #25076 )
...
* Ember: Make `RegistryProxyMixin.register` options optional.
* Add tests for register change.
2018-04-17 18:12:12 -07:00
Abram Booth
302ef7b926
Fix EmberArray.uniqBy typing ( #25073 )
2018-04-17 18:11:52 -07:00
Abram Booth
16c3ba2628
Fix DS.Model.belongsTo and DS.Model.hasMany args ( #25072 )
2018-04-17 18:11:35 -07:00
Stas Vilchik
8c3fdbcf02
[estree] make function declaration id nullable ( #24854 )
...
* [estree] make function declaration id nullable
* apply review feedback
* [estree] make class declaration id nullable
2018-04-17 13:16:35 -07:00
Aankhen
5227ddf7d5
Add write-file-atomically types. ( #25064 )
2018-04-17 12:52:41 -07:00
doomsower
a9e8ad80f9
[react-navigation] Loosen navigator navigationOptions ( #24943 )
...
* Loosen navigator navigationOptions
* Fix linter
2018-04-17 09:57:43 -07:00
Giovanni Gonzaga
7354268b53
pg: query method missing an overload ( #24940 )
...
* Update index.d.ts
* Update pg-tests.ts
2018-04-17 09:57:01 -07:00
Angel Merino
df22c6534a
Update types for dnssd ( #25054 )
...
* Added types for dnssd
* Cosmetics, test passed
* Removed unused rules
* Service entry type added
Browser implements EventEmitter
* make tslint happy
2018-04-17 09:46:34 -07:00
Deyan Kamburov
e498086912
[ignite-ui] Update Ignite UI typing to 18.1 release version ( #24950 )
2018-04-17 09:45:59 -07:00
NN
3540de43f9
Define ResourceType as type union. ( #25060 )
2018-04-17 09:43:25 -07:00
Aankhen
d0e265975b
Add promise-timeout types ( #25062 )
2018-04-17 09:39:52 -07:00
Keagan McClelland
5544c3749b
[Ramda]: fixed pick and omit type signatures to reflect projections ( #24936 )
...
* fixed pick and omit type signatures to be more helpful
* changed pick to try and pass tests, tsnext still complaining
* added CaptJakk to contributors
* changed keyof index signatures to just strings
* simplified Omit type signature
2018-04-17 08:38:44 -07:00
Masahiko Okada
bb51a7bf50
Fix JsonSchema.type definition in tv4 ( #25020 )
2018-04-17 08:37:36 -07:00
Dylan Scott
d12aef03df
express-winston: relax types on meta object ( #25036 )
...
* express-winston: relax types on meta object
* express-winston: change meta object type to
2018-04-17 08:37:05 -07:00
Omar Diab
2b5e8a5dd3
Fix missing splat in react-intl types ( #25046 )
2018-04-17 08:36:39 -07:00
Kyle Roach
e460cfa0a3
(react-native) Adds SectionList scrollToLocation ( #25050 )
2018-04-17 08:35:25 -07:00
Jakub Řičař
1f555b0b4f
[react-virtualized] Grid - add onScrollbarPresenceChange to GridCoreProps ( #25040 )
...
* Grid - add onScrollbarPresenceChange to GridCoreProps
* Fix irregular whitespace
2018-04-17 08:35:05 -07:00
Arne Schubert
f8b7232c91
Add new type definition for toobusy-js ( #25019 )
...
* Add new definitions for toobusy-js
* Change import according to the change-request
2018-04-17 07:59:02 -07:00
Aneil Mallavarapu
33babb4010
Add types/jsonwebtokens-promisified ( #25038 )
...
* Add jsonwebtoken-promisified
* Add types/jsonwebtoken-promisified
* Remove tslint ignore statements & fix issues
2018-04-17 07:58:44 -07:00
Shayne Hartford
0b0483cf78
@types/snekfetch: Added optional Snekfetch.SnekfetchOptions ( #24754 )
...
* Edited version
* Because travis succ
* Added friend's suggestions
* Fixed
* Upgraded typescript version
2018-04-17 07:57:58 -07:00
Juanjo Diaz
f929c81119
Add new unwindBlank to json2csv ( #25043 )
2018-04-16 17:56:41 -07:00
Konrad Mattheis
92477a4d52
fix functions that have a object with multiple return values like GetHyperCubeContinuousData ( #25010 )
...
Signed-off-by: Konrad Mattheis <konrad.mattheis@akquinet.de >
2018-04-16 17:56:24 -07:00
earshinov
24805d4023
[ckeditor] Various additions to the typings ( #24856 )
...
* Declare that `CKEDITOR` has event subscription interface for global events like `"instanceCreated"`.
Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR.html#Events
* Declare `CKEDITOR.editor.getSelectedHtml` with overloads.
Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-method-getSelectedHtml
* Declare some arguments as optional
Documentation links:
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.event-method-preventDefault
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-createBookmark2
* https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_node.html#method-getAddress
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-getCommonAncestor
* Fix typings of `createBookmark[s][2]`:
* Properly declare methods `createBookmarks[2]` instead of `createBookmark[2]` on `CKEDITOR.dom.rangeList`.
Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_rangeList.html#method-createBookmarks
* Use return type of `bookmark[]` for "intrusive bookmarks" everywhere as in `CKEDITOR.dom.range.createBookmark`.
* Declare parameters of `CKEDITOR.dom.selection.createBoomarks[2]` as required `Object`'s to follow the documentation.
Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-createBookmarks
* Declare method `CKEDITOR.dom.node.remove` mistakenly named `move` in the typings.
* Declare `CKEDITOR.dom.range.setEnd{Before,After}` in addition to `setStart{Before,After}`.
Documentation links:
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-setEndAfter
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-setEndBefore
* Declare some `CKEDITOR.tools`
Documentation links:
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-copy
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-isArray
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-override
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-prototypedCopy
* Declare `CKEDITOR.plugins.registered`.
Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.resourceManager-property-registered
* Declare `CKEDITOR.htmlParser.element.addClass` in addition to `removeClass` and `hasClass`.
Documentation link: https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.element-method-addClass
* Declare `CKEDITOR.htmlParser.{element,fragment}.forEach`.
Documentation links:
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.element-method-forEach
* https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.htmlParser.fragment-method-forEach
* Coding style: Convert to single quotes and spaces for indentation.
* Make `fileName` parameter of `CKEDITOR.plugins.addExternal` optional.
Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_plugins.html#method-addExternal
* Make `editable` as a class and declare its constructor.
Documentation link: https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_editable.html#method-constructor
2018-04-16 17:55:15 -07:00
Evan Hahn
23c8bbf227
connect: Add NextFunction for next, fix err parameter ( #24883 )
2018-04-16 17:45:19 -07:00
Arne Schubert
ed43fdd5b7
Enhance definition for heapdump ( #24927 )
...
* Enhance definition and according tests for heapdump
* Add changes to fix the CI
2018-04-16 17:43:33 -07:00
Eugene Matseruk
0bab723bac
Implement typings for v4.2 of http://idangero.us/swiper ( #24898 )
...
- Move typings for v3 to the separate v3 folder
- Implement typings for v4.2
- Implement tests for typings
2018-04-16 17:41:11 -07:00
Pine Mizune
228dd564c0
add event-hooks-webpack-plugin ( #24998 )
2018-04-16 17:40:11 -07:00
Tareq El-Masri
bca34de857
[ADD] Typings for wix/detox ( #25005 )
...
* [ADD] Wix Detox Types
* [FIX] Detox Definiations lint error
* [FIX] Lint issues
2018-04-16 15:52:31 -07:00
Mtsg
521725e9ab
Add type definitions for react-router-param-link. ( #25004 )
...
* Add type definitions for react-router-param-link.
* Declare TypeScript version.
2018-04-16 15:51:24 -07:00
Arne Schubert
600f681913
Add type definition for is-ci ( #25016 )
...
* Add type defintions for the is-ci package
* Apply settings from generator
* Merge changes from generator
* Set strictFunctionChecks to true
2018-04-16 15:50:56 -07:00
anderswestberg
bbca3b76fa
Added typings for network-interfaces ( #25027 )
...
* Added typings for network-interfaces
* Added typings for network-interfaces
* Corrected build errors
2018-04-16 15:39:06 -07:00
Tomislav Fabeta
a67c35269a
Type for schema-registry ( #25032 )
...
* added schema-registry types
* added few more tests
* cleaned
* removed declare module
2018-04-16 15:38:18 -07:00
Jarom Loveridge
9840f8c2e4
Add types for muri ( #25039 )
...
* Add muri types.
* Resolve linting issues.
* Remove unnecessary TypeScript version specification.
2018-04-16 15:35:32 -07:00
Curtis Maddalozzo
57381ed4fe
raven: Add definitions for transports ( #24918 )
...
* Add definitions for transports
* Fix transport option. Add tests.
* Bump version
* Fix linting error
2018-04-16 15:26:17 -07:00
heroboy
8030410d9b
Update three-core.d.ts ( #24989 )
...
add `optionalTarget` parameter
2018-04-16 15:25:29 -07:00