Commit Graph
20229 Commits
Author SHA1 Message Date
Nahuel Greco 38b09ae303 node.d.ts: added http.ServerResponse.setTimeout signature (#10135)
Added missing `http.ServerResponse.setTimeout` signature. The `setTimeout` method was added in node v0.9.12, see https://nodejs.org/api/http.html#http_response_settimeout_msecs_callback
2016-07-19 17:26:01 -07:00
Martin Staael 3c935c7abc Missing definition for _.any (#9766)
Missing definition for _.any
2016-07-19 17:25:43 -07:00
York Yao c5c5f82bf7 fix type of port in socket.io-redis (#10128) 2016-07-19 17:25:01 -07:00
romiem be44d2fa33 Update angular-environment.d.ts (#10096)
I've only added the read method because it's the one I use, but technically all the methods available on the envService are actually available on the envServiceProvider too.
2016-07-19 17:24:18 -07:00
iamdanfox 92d2d87d8a Add definitions for react-jsonschema-form 0.30.1 (#10104)
* react-jsonschema-form 0.30.1

Very barebones typings, intended to serve as a baseline for improvement.

* rename react-jsonschema-form-test.tsx -> ...-tests.tsx
2016-07-19 17:17:48 -07:00
efokschaner 289a6cb70c Fix WebSocketRequest.reject + update gh url (#10111)
reject method supports a useful undocumented 3rd parameter, see https://github.com/theturtle32/WebSocket-Node/blob/v1.0.23/lib/WebSocketRequest.js#L465

https://github.com/Worlize/WebSocket-Node redirects to https://github.com/theturtle32/WebSocket-Node. Fixing it here will help avoid ambiguity about whether these are the right typings.
2016-07-19 17:16:29 -07:00
velveret 2f16c8ae7e Fix react-select definition for filterOptions (#10109) 2016-07-19 17:16:17 -07:00
benoit74 3a5b669575 MailParser: Added missing "stream" attribute on Attachment (#10089) 2016-07-19 17:14:25 -07:00
Tim Perry 83f954972e Fix signature for _.sum/sumBy when summing properties from object arrays in Lodash (#10101)
* Fix lodash _.sumBy signature

Main fix here is to ensure that summing plucked keys from objects
is allowed.

* Fix lodash 3.10 _.sumBy signature to allow summing plucked keys too
2016-07-19 17:13:09 -07:00
Carson Full b1426f561d [Material UI] Changed button labels from strings to ReactNodes. (#10102) 2016-07-19 17:09:41 -07:00
Vincent Rouille b54fdb6595 Fix nodejs StringDecoder definition (#10100) 2016-07-19 17:05:08 -07:00
osechet d726a1348e Add the options argument to openlayers custom control (#10099)
* Add arguments to ol.control.Control's constructor

* Define the olx.control.ControlOptions interface
2016-07-19 17:03:27 -07:00
Danilo Bargen c820a48f5e webrtc: Fix type of ondatachannel event (#10094) 2016-07-19 16:59:50 -07:00
lincoln 47b9697e0d filename argument of fs.watch callback will be type of Buffer, if encoding (#10112)
option is set to 'buffer'
2016-07-19 16:33:12 -07:00
Ruben Slabbert 4c7d03b088 React-Native: Added ActivityIndicator (#10122)
* React-Native: Added ActivityIndicator

* React Native: Added @Deprecated to ActivityIndicatorIOS and changed string type to enum type on ActivityIndicator size
2016-07-19 16:25:34 -07:00
Mitchell Wills 1074806a34 Rename Pako namespace to pako to allow use with browserifyed library (#10124) 2016-07-19 16:25:14 -07:00
Shant Marouti fc595bd854 Add definitions for app-root-path and gulp-insert (#10118)
* add app-root-path type difinitions

* Add defenitions for gulp-insert
2016-07-19 16:23:27 -07:00
Matthias ba5f8c1b2f Add OpenLayers v3.14.2 (#10119)
* Created openlayers v.3.14.2 definitions file by cloning v3.6.0

* fix shadowed references to global types

* Added ol.events.Event, ol.events.EventTarget and ol.events.ListenerFunctionType

* filled in ol.proj.Projection

* completed ol.Observable. Corrected variable names. Added inheritance from ol.events.EventTarget and updated dispatchEvent() to include a possible boolean operator, as per EventTargets impl of dispatchEvent

* Filled in ol.interaction.DrawEvent. Added ol.interaction.DrawEventType.

* Filled in ol.interaction.Interaction, and added olx.interaction.InteractionOptions.

* Filled in ol.interaction.DrawOptions

* Corrected ol.DrawGeometryFunctionType

* Filled in ol.source.Vector

* Updated ol.source.Source . Removed refresh() since it's not in the docs or the code file.

* Typo

* Added to ol.geom.Polygon

* Fix ol.Map beforeRender()

* Added PointerOptions, MapBrowserPointerEvent, ModifyEventType, ModifyEvent, pointer && pointer.PointerEvent .

* Added to ol.geom.Circle .
Added ol.events.Key, though I don't know what it is.

* Fixed CollectionEvent

* Fix jsdoc problems

* DragBoxOptions, InteractionOptions

* update VectorOptions

* Update VectorOptions

* Other things

* Lint

* Fix duplicates and syntax errors from test.

* Filled in ol.interaction. Lint

* Added tests file and updated it.
Fixed some more definitions. Observable extends. and others
2016-07-19 16:22:58 -07:00
Pierre Urban 9bd416090b Set the type of language to any. (#10187)
* Set the type of language to any.

The type of language can be string, array, etc.
Sources: https://github.com/select2/select2/blob/6844be777b0fe9af1d2b9a8f6051b7eb7d532247/src/js/select2/defaults.js#L235-L294

* Update the language type.
2016-07-19 14:40:31 -07:00
Horiuchi_H 5ccabc86ec Merge pull request #10149 from simonxca/fix-promises
Another fix for mongoose Promises
2016-07-19 12:28:07 +09:00
Simon b301b3e81c fixes return type of mongoosethenable 2016-07-16 22:39:41 -04:00
Simon 1b755999ed fixes return types of some promises that were missed 2016-07-16 22:28:34 -04:00
John Reilly 95eb7b2527 Merge pull request #10144 from alanwright/dev/alanwri/selectMenuJQueryUI
Adding support for JQueryUI Select Menu
2016-07-16 21:32:54 +01:00
Alan Wright 8c8643c90b Adding support for JQueryUI Select Menu
jQuery UI 1.11 selectmenu http://jqueryui.com/selectmenu/
2016-07-16 12:03:05 -07:00
Horiuchi_H 7499bb5e44 Merge pull request #10141 from simonxca/improve-mongoose-promise
Improve mongoose promises
2016-07-17 00:04:49 +09:00
Simon 7e4710a23c simplifies mongoose.Promise by removing unecessary 2nd type parameter 2016-07-15 22:08:56 -04:00
Simon 7ba164ada3 fixes return types of mongoose promises 2016-07-15 21:40:32 -04:00
anubmat 415de78bb5 Merge pull request #10087 from Aides359/master
Added @deprecated on request.param
2016-07-15 16:25:03 -07:00
anubmat 23a938ab96 Merge pull request #10120 from gmoore-sjcorg/master
Add Query and QueryResponse definitions
2016-07-15 16:12:55 -07:00
Horiuchi_H a59cec35c6 Merge pull request #10121 from simonxca/fix-model-types
Adds type parameter back to mongoose.Model class fixes #10110
2016-07-15 13:22:17 +09:00
Simon d8af314e45 fixes return types of MongooseArray 2016-07-14 22:59:54 -04:00
Simon ae5432ee12 adds test cases for model type parameters 2016-07-14 20:23:21 -04:00
Simon 1f09db13e7 adds comments explaining ModelQuery 2016-07-14 20:06:42 -04:00
Simon c85a7d624b adds type parameter for mongoose.Model, fixes #10110 2016-07-14 20:06:41 -04:00
Gregory Moore 06026495fb Fix callback definition in Query send method 2016-07-14 13:40:02 -07:00
Gregory Moore e1b93de867 Add Query and QueryResponse definitions 2016-07-14 13:09:04 -07:00
Zhengbo Li 0d501b1ff9 Merge pull request #10005 from denisname/Chosen.JQuery-1.6.1
Update for Chosen.JQuery version 1.6.1
2016-07-14 10:07:58 -07:00
denis 8dc966a11c Formatting
Add semicolon
2016-07-14 10:42:17 +02:00
Blessing Pascal fcfde8ed43 Added @deprecated on request.param 2016-07-13 09:10:05 +02:00
Jeffery Grajkowski b66d6115d7 Added typings for react-flex (#10054)
* Added typings for react-flex

* Fix react-flex-tests.tsx import of React
2016-07-12 23:29:41 -07:00
Zev Spitz e0896e285b Rename WIA files; removed VarDate interface (#10081)
* Rename WIA files

* Removed VarDate definition; is now in lib.d.ts
Renamed WIA definition
Added ADO definitions

* Restored VarDate; TS lint fixes

DefinitelyTyped is still using Typescript 1.8 in Travis CI compile
checks.
2016-07-12 23:28:46 -07:00
Simon Xiong c6757a1399 Updates to Mongoose 4.5.x (#10084)
* updated to mongoose 4.x and beyond, closes #2904 closes #3345 closes #4219 closes #4262 closes #4773 closes #5791 closes #6957 closes #8248 closes #9423 closes #9547

* add to contributor list

* fixes travis errors

* fix header issue
2016-07-12 23:23:30 -07:00
davidlipo 21b0500507 Update react-day-picker.d.ts (#10052)
* Update react-day-picker.d.ts

Upgrade following some breaking changes in react-day-picker 2.0

* Added in more react-day-picker props.

* Update react-day-picker.d.ts
2016-07-12 23:22:31 -07:00
Andrey Kurdyumov 6f664bd4fe Add support for using React Bootstrap in glbal setup (#10051) 2016-07-12 23:12:31 -07:00
Jerry Feng de82425735 Fix ui function's parameter typing (#10062)
* RN: add props definition for WebView

* RN: Add platform-specific props to WebView

* RN: Add getWebViewHandle method

* RN: add source props to WebView

* RN: fix type of decelerationRate

* RN: Update Picker.Item props

* RN: Update props name

* RN: Clarify mode range

* RN: Add definition for DrawerLayoutAndroid

* RN: Update Image

* RN: Update ListView

* RN: Update MapView to 0.25

* RN: Add Modal

* RN: Update ScrollView

* RN: Add SegmentedControlIOS

* RN: Add Slider

* RN: Update SliderIOS

* RN: Define Status Bar

* RN: export StatusBar

* RN: Define Switch

* RN: Update Text

* RN: Update TextInput

* RN: Add ToolbarAndroid

* RN: Update TouchableOpacity

* RN: Update TouchableWithoutFeedback

* RN: Update View

* RN: Update ViewPagerAndroid

* RN: Fix mistakes

* RN: Unify indentation

* Add 2 components; fix some minor problems

* fix: follow the convention

* RN: Update ActionSheetIOS

* RN: Add Alert api

* RN: Fix reference

* RN: Update AlertIOS

* RN: add typing for type parameter

* RN: Update AppRegistry

* RN: Update AppState and AppStateIOS

* RN: Add BackAndroid

* RN: Update Camera Roll

* RN: Add Clipboard

* RN: Add DatePickerAndroid

* RN: Update Dimensions

* RN: Update InteractionManager

* RN: Add methods to DrawerLayoutAndroid

* RN: Export DatePickerAndroid

* RN: Add IntentAndroid

* RN: Add Linking

* RN: Add LinkingIOS

* RN: Add NetInfo

* RN: Update PixelRatio

* RN: Update PushNotificationIOS

* RN: Update StyleSheet

* RN: Add TimePickerAndroid

* RN: Update ToastAndroid

* RN: Add Vibration

* RN: Set stricter definition for flexbox props

* RN: Define ShadowPropTypesIOSStatic

* RN: Fix indentation

* RN: Add Geolocation

* RN: Export Geolocation

* RN: Move Geolocation to proper position

* RN: Define fetch

* RN: Fix tabs

* RN: Define schedulers

* RN: Major fixes from @PublicParadise

* RN: Update version

* RN: Add documentation as comments

* RN: Add more comments

* fix: typo

* add some missing callbacks

* RN: Export switch

* add missing commentes

* Fix(Switch): add style property

* RN: Update Navigation Experimental

* RN: Define SwipableListView

* RN: Add necessary marks

* RN: Improve unclear typing

* RN: Enable pagingEnabled for ScrollView

* RN: Enable returnKeyType for both platforms

* RN: Add returnKeyLabel to Android

* RN: Add a prop

* RN: Add scrollEnabled prop in 0.27

* RN: Add new prop from 0.27

* RN: Fix typo

* RN: Remove redundant export

* RN: Fix typo

* RN: Add missing definitions

* RN: Fix missing type declarations

* Annotate params

* Define redux-ui

* update ReactRedux reference

* Remove ReactRedux dependency

* Add additional UI props for extension

* Add generics to specify shape of UI state

* Add comments on ReduxUIProps from official documentation

* Shorten long line

* Supply type parameter

* Make value parameter optional

* Overload ui function to improve precision

* Fix parameter of ui function

* Use semicolon
2016-07-11 19:55:50 -07:00
Mohamed Hegazy 2fe969eea5 Merge pull request #10057 from darkl/autobahnjs-progress
Fixing progress field
2016-07-11 19:39:16 -07:00
Mohamed Hegazy fe432834f2 Merge pull request #10056 from NoHomey/patch-4
Improvement to material-ui type definition
2016-07-11 19:35:39 -07:00
Mohamed Hegazy 94a4843e3b Merge pull request #10055 from tmct/master
Make `getColHeader` parameter optional in handsOnTable
2016-07-11 19:35:04 -07:00
Mohamed Hegazy 906fe3ed3d Merge pull request #10033 from asvetliakov/react-addons-import-fix
Allow es6 import for addons-create-fragment/addons-shallow-compare
2016-07-11 19:28:08 -07:00
Mohamed Hegazy dfccd93db8 Merge pull request #10031 from asvetliakov/enzyme-update-2.4.1
Updated enzyme to 2.4.1
2016-07-11 17:28:30 -07:00