Commit Graph
20217 Commits
Author SHA1 Message Date
Simon ee02fbfb77 implements plugging in custom promise libaries fixes #9424 2016-07-19 20:33:45 -04: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
Zhengbo Li aea1147b3e Merge pull request #10007 from dmitryrogozhny/master
Added new definition file for Draft-js v0.7.0.
2016-07-11 12:23:47 -07:00
d.rogozhny@gmail.com cf1327066b indentation for Editor in draft-js-tests-0.2.2.tsx 2016-07-11 22:16:55 +03:00
Zhengbo Li d1ddc33a2b Merge pull request #10025 from frogcjn/master
Express - enhance Router (squashed)
2016-07-11 11:50:14 -07:00
Cao, Jiannan 0dd6ead8f0 merge param 2016-07-12 02:36:08 +08:00
Zhengbo Li 9f2459c9af Merge pull request #10045 from antoinne85/reflux-add-listen
Added the listen function.
2016-07-11 11:25:12 -07:00
Zhengbo Li 1ebc51ec70 Merge pull request #10011 from PedroPovedaQ/master
added Media Type
2016-07-11 11:15:26 -07:00
Elad Zelingher bd06aa2f50 Fixing progress field 2016-07-11 20:51:32 +03:00
Cao, Jiannan 1f418be731 declare Express in ambient environment 2016-07-12 01:23:42 +08:00
Ivo Stratev 4bc3bdf7bb Improvement to material-ui type definition
case 2. Improvement to existing type definition.

From Material-UI Reference (http://www.material-ui.com/#/customization/themes):
"The lightBaseTheme is the default so you will not need to do anything to use it other than using MuiThemeProvider as described in Usage. [http://www.material-ui.com/#/get-started/usage]"

muiTheme Property should be optional.
2016-07-11 19:31:18 +03:00
Tom McTiernan ef0e322e4f Make getColHeader parameter optional 2016-07-11 17:13:24 +01:00
Cao, Jiannan 49a98e0443 add comment line 2016-07-12 00:02:46 +08:00
Cao, Jiannan dcd4fb55fa move req.user to http-errors-tests.d.ts 2016-07-11 23:36:44 +08:00