Commit Graph
20194 Commits
Author SHA1 Message Date
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
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
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
Cao, Jiannan a591dbfa8e add user to http-errors.d.ts 2016-07-11 23:16:06 +08:00
Cao Jiannan 6245fffb18 optional user 2016-07-11 22:57:51 +08:00
Cao Jiannan cb4960033f add user to Request for http-errors
req.user should be declared by developer.
2016-07-11 22:57:27 +08:00
Pedro Poveda 6c0118ed5f Fixed indentation 2016-07-11 10:29:24 -04:00
Tony Compton 1838cdc893 Fixing a code style issue. 2016-07-11 09:28:08 -04:00
Yanlong Wang b20eb12c4c Use import for koa-mount rather than require (#10046)
Before: require("koa-mount")
After: import * as mount from "koa-mount"
2016-07-11 22:22:30 +09:00
gpicazo ae78852d87 Update to ngstorage.d.ts (#9924)
Adds an indexer to the storage service to allow dereferencing stored data using a dynamic key value. This allows the consumer to write custom getter/setter methods. This is not currently possible if the typescript project is configured to not allow implicit Any.
2016-07-11 22:20:43 +09:00
Horiuchi_H 1c7905f8ff Merge pull request #10050 from horiuchi/update-node-fetch
[node-fetch] support `import from` syntax of ES2015
2016-07-11 19:11:50 +09:00
Horiuchi_H d925e3f8c8 feat: support import from syntax 2016-07-11 18:40:47 +09:00
denis 25debf619c Changes according to repo owner
Add authors name
Indentation: replace tab by spaces
Use union type: OnEvent and TriggerEvent

Note: `width` is string as it needs units, like "95 %", "100 px".
2016-07-11 11:23:55 +02:00
Zhengbo Li 603545ca20 Merge pull request #10038 from prashaantt/patch-3
Fix `request.raw.req` type
2016-07-11 00:10:38 -07:00
Tony Compton a69c28bb2d Added the listen function.
Added the listen function to Store interface so that people can use
Reflux the non-mixin way.
2016-07-10 19:21:12 -04:00
Cao Jiannan 203818d338 remove unnecessary user property of request
leave space to user defined user type
2016-07-10 23:16:00 +08:00
Ivo Stratev 77b1b17093 Improvement to node type definition (#10037)
case 2. Improvement to existing type definition.

From Node.js API Reference (https://nodejs.org/dist/latest-v6.x/docs/api/fs.html#fs_fs_open_path_flags_mode_callback):

fs.open(path, flags[, mode], callback)#
Added in: v0.0.2
path <String> | <Buffer>
flags <String> | <Number>
mode <Integer>
callback <Function>

Only mode is optional in open. Also instead of pure function overloads definitions can be re-written using union type annotaion for open and openSync.
2016-07-09 20:40:37 +09:00
Prashant Tiwari 36ce4b68fa Fix request.raw.req type
Per the hapi [code](https://github.com/hapijs/hapi/blob/master/lib/request.js) and [documentation](http://hapijs.com/api#request-object) the correct type for the raw http request object `request.raw.req` is actually `http.IncomingMessage` and not `http.ClientRequest`.
2016-07-09 14:51:05 +05:30
Dan Marshall 7234823908 reduce() returns Bezier[] (#10036) 2016-07-09 16:28:42 +09:00
Wang Guan 7f5ba75603 add definition for Navigator in react-native 0.29 (#10035) 2016-07-09 15:35:08 +09:00
Ivo Stratev 674f651fcb Adding missing constants from module 'constants' (#10034)
Adding missing File System constants from module 'constants'.
2016-07-09 15:34:57 +09:00
Ivo Stratev 7a6da49f3a Now it matches Node.js fs::open* definition (#10032)
From Node.js API Reference (https://nodejs.org/dist/latest-v6.x/docs/api/fs.html#fs_fs_open_path_flags_mode_callback):

fs.open(path, flags[, mode], callback)#
Added in: v0.0.2
path <String> | <Buffer>
flags <String> | <Number>
mode <Integer>
callback <Function>

fs.openSync(path, flags[, mode])#
Added in: v0.1.21
path <String> | <Buffer>
flags <String> | <Number>
mode <Integer>
2016-07-09 15:33:42 +09:00
Jeremy 22bc90a0b2 Corrects readSync by making position argument optional. (#10029) 2016-07-09 15:30:47 +09:00
Mihailescu Marian Valentin 90dc1f65a2 fix: The append function accepts ReadStreams, Buffers and strings (#10021)
* fix: The append function accepts ReadStreams, Buffers and strings

* chore: Space before and after |
2016-07-09 15:29:18 +09:00
Ryan Casperson ead4d214f7 lodash: Add flattenDepth() for LoDashStatic (#10013)
* lodash: Add flattenDepth() for LoDashStatic

* lodash(flattenDepth): Add optional tag to depth & declare module
2016-07-09 15:28:53 +09:00
Michael Ledin 1eb1d55202 I18next: reverting default export (#10006)
* Revert "Fix i18next default export"

This reverts commit 48d8146a89.

* Revert "Fix i18next import"

This reverts commit 31a80af913.
2016-07-09 15:24:28 +09:00