Commit Graph

44212 Commits

Author SHA1 Message Date
Ron Buckton
60bb4edc54 Remove URL and URLSearchParams from nodeJS global 2018-04-27 10:26:27 -07:00
Tanguy Krotoff
8ecd62b94a Fix react-native (#25362)
* Fix DatePickerIOS

* Fix StatusBar: methods are static

* Fix Slider

* Switch to static methods when needed

* Fix Expo ViewProps vs ViewProperties
2018-04-27 09:30:59 -07:00
Nathan Shively-Sanders
baa09f7810
Merge pull request #25290 from Syncfusion-JavaScript/master
16.1.37 added
2018-04-27 09:24:18 -07:00
ryym
5ca461cbd3 Revert "[react-redux] Update type definitions for redux@4.0.0 (#25109)" (#25367)
This reverts commit 1efe02587a.
2018-04-27 08:50:30 -07:00
Ian Copp
c263542f44 Add clientjs (#25314)
* Add clientjs

* Correct linting for clientjs
2018-04-26 22:32:23 -07:00
Allison Shaw
1b58ceb81e Update index.d.ts (#25334)
Expose paper on element (optional and includes description of when available).
Create new Gradient interface as subset of Element.
Add remove() to Set.
2018-04-26 22:31:15 -07:00
David Idol
99f6ffb18b Use React.ReactNode instead of string for label (#25353)
Based on the [official API documentation](https://github.com/bvaughn/react-virtualized/blob/master/docs/Column.md) it seems that `label` is actually a ReactNode and not a `string`
2018-04-26 22:30:49 -07:00
Kyle Buzby
19f30b4414 allow Client to have 0 parameters in constructor (#25354) 2018-04-26 22:30:25 -07:00
shiratsuki
9c61553ebb add historykana types (#25222)
* add historykana types

* Fixed test error

* Fixed unified-signatures error

* Fix strictNullChecks to true.

* Fix export default to export equal

* Deleted module.
2018-04-26 19:02:47 -07:00
Dasa Paddock
40fd64f487 [arcgis-js-api] Update for version 4.7 (#25142)
* Update for ArcGIS API for JavaScript version 4.7

* Add Bjorn Svensson to "Definitions by" section
2018-04-26 15:50:25 -07:00
Dasa Paddock
f999648d85 [arcgis-js-api] Update for version 3.24 (#25139)
* Update for ArcGIS API for JavaScript version 3.24

* Add Bjorn Svensson to "Definitions by" section
2018-04-26 15:49:11 -07:00
Sean Scally
4891ddcd3a Remove overload (#25150)
It should not be a valid case for createContext to take no arguments.
2018-04-26 15:48:32 -07:00
Iaroslav Shvets
9132b5732b react-transition-group CSSTransition missing properties fix (#25232) 2018-04-26 15:47:32 -07:00
Kyle Buzby
05f447583f Change return type of PropertyList.get (#25351) 2018-04-26 15:46:17 -07:00
Meir Blachman
96816bfc6e [puppeteer] Add Request.abort errorCode argument (#25345) 2018-04-26 15:44:20 -07:00
Keiichiro Amemiya
312bad92cc add epochTime (#25199) 2018-04-26 15:39:33 -07:00
Ian Copp
3c57d52a15 Add react-toastify (#25320)
* Add react-toastify

* Correct Typescript version reference
2018-04-26 15:39:12 -07:00
denisname
986dd3b412 Select2 Better typing for v4 (#25196)
* select2 v4

* ts-lint
2018-04-26 15:38:30 -07:00
Suntharesan Mohan
f296324f1a [convict] - Add generic type (#25154)
* [convict] - add generic type

* Add Typescript version
2018-04-26 15:37:29 -07:00
Nikita Litvin
fb4403c4c0 parse-git-config: add promise method in version 2.0 (#25143)
Implementation: a2a1ba179a/index.js (L64)
2018-04-26 15:30:08 -07:00
Dan Homola
a0cde9ffe0 fix(intl-tel-input): update name and type of placeholderNumberType (#25191)
Fixes #24734
2018-04-26 15:29:38 -07:00
Gebatzens
54acb6f5d7 Add types for chardet (#25308) 2018-04-26 15:20:59 -07:00
Nathan Bierema
321c042eba Add type for TreeNode that rc-tree generates internally (#25077)
* Add type for TreeNode that rc-tree generates internally

* Update test

* Make InternalTreeNode an interface since it can't be instantiated
2018-04-26 15:19:59 -07:00
Lee Standen
b89b85ab98 Add Types for @atlaskit/inline-edit (#25310)
* Add 'atlaskit__inline-edit'

* lint changes
2018-04-26 15:18:18 -07:00
Derek Clair
eae2ca1b41 Update index.d.ts (#25313)
Added `async` and `defer` as optional properties of the `<Helmet>` component.
2018-04-26 15:17:01 -07:00
Ian Copp
262cb8eae6 Add filter-invalid-dom-props (#25316) 2018-04-26 15:15:17 -07:00
tbounsiar
fe5ac79ff9 Body parser xml (#25331)
* adding react-owl-carousel types

* Update Definitions by list

Fix Test error

* Fix tslint

Fix tsconfig

* Add new Type body-parser-xml
2018-04-26 15:13:59 -07:00
Ian Copp
c19e1e8289 Add roll (#25340) 2018-04-26 15:12:03 -07:00
张嘉永
363fbd9d5f add return type for sequelize.model.belongsTo and more (#25341) 2018-04-26 15:10:40 -07:00
Daniel Hritzkiv
f1c3dd8b6e [stripe-v3] Differentiate response types on "token", "source" StripePaymentRequest events (#25312)
* Differentiate response types on "token", "source" StripePaymentRequest events

"token" events will pass a Token objects as part of the StripePaymentResponse object, while "source" events will pass a Source object.

* Update tests to reflect different response properties on "token" and "source" events
2018-04-26 15:09:59 -07:00
Ilia Choly
c071498b0b Add discriminated unions for GeoJSON types (#25065)
* directly give the bbox property to all objects

* add unions along side existing types

* add iteration example

* add name

* extend from GeoJsonObject and GeometryObject

* rename Object to GeoJSON
2018-04-26 15:09:38 -07:00
Andrew Couch
fc6720f5d2 [analytics-node] Add host and enable constructor parameters (#25346) 2018-04-26 15:07:50 -07:00
Adrian Blumer
a965835ec7 webgl2: Allow for better type union with WebGLRenderingContext (#25059)
* allow for better type union with WebGLRenderingContext

adjusted typings for better declaration merging of some of the method declarations

* removed `BufferData` and `PixelData` type definitions

because otherwise they get exported as well

* addressed code review feedback

- fixed typos
- reverted function signature changes on functions / overloads only introduced in WebGL2
- added WebGL1 compatiblity line for readPixels
2018-04-26 15:07:34 -07:00
Moritz Gunz
014cf5df60 Fix incorrect enum declaration (#25300) 2018-04-26 15:06:33 -07:00
Markus Öllinger
c2b2901115 Add ReactCreatableSelectProps (#25253)
* add ReactCreatableSelectProps to our props

* fix formatting issues
2018-04-26 15:03:59 -07:00
Aneil Mallavarapu
07268c98de Improve coverage of AWS Lambda Statement type (#25304)
* Improve coverage of AWS Lambda Statement type

Allow statements which have either a Principal or a Resource,
instead of requiring Resource.
This permits policies such as described in https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html:

```
{
  Effect: "Allow",
  Principal: "*",
  Action: "*"
}
```
and
```
{
  Effect: "Allow",
  Principal: { "Service": "lambda.amazonaws.com" },
  Action: "sts:AssumeRole"
}
```

* Remove unnecessary additional type

* Add tests for valid/invalid combinations of Resource and Principal in Statement type

This addresses issues raised by @simonbuchanan here:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/25304\#pullrequestreview-115377094
2018-04-26 15:03:40 -07:00
Bradley Ayers
90c86a9404 Update index.d.ts (#25318) 2018-04-26 15:01:16 -07:00
Janeene Beeforth
9021588eb7 [expo]: Add missing interfaces/classes for AdMob module. (#25258)
* [expo]: Add missing interfaces/classes for AdMob module.

This module has existed since SDK v21.0.0, but had not been added to the
typescript definitions. The interface changed in SDK v26.0.0, so a split
between v25 and v26 was required.

* [expo]: Condense AdMob event listener functions.

* Add missing backslash to v25 baseUrl & typeRoots.

* Remove unintended whitespace format changes.

* Merge LinearGradientProps change from pull 25149 to v25 definitions.
2018-04-26 15:00:29 -07:00
denisname
c853ba2651 Linting d3-hexbin and d3-hierarchy (#25325) 2018-04-26 10:31:47 -07:00
Martynas Žilinskas
c3257dd16c [react-hot-loader] Upgraded to v4.1 (#25133)
* Updated to 4.1.

* Removed from types.

* Updated tslint.

* Fixed lint errors.
2018-04-26 10:31:02 -07:00
Tanguy Krotoff
4abbfb42ff [react-native] Switch to *real* components + rename Properties to Props (#25307)
* Switch from var to const

* import React instead of /// <reference types="react" />

* Fix TextInput and remove TextInputStatic

See #16318 [react-native] Wrong type for component ref

* Remove TextStatic

* Remove ActivityIndicatorStatic

* Remove ActivityIndicatorIOSStatic

* Remove DatePickerIOSStatic

* Remove DrawerLayoutAndroidStatic

* Remove ImageStatic

* Remove ImageBackgroundStatic

* Remove InputAccessoryViewStatic

* Remove ListViewStatic

* Remove MapViewStatic

* Remove MaskedViewStatic

* Remove ModalStatic

* Remove NavigatorIOSStatic

* Remove PickerStatic

* Remove PickerIOSStatic

* Remove ProgressBarAndroidStatic

* Remove ProgressViewIOSStatic

* Remove RefreshControlStatic

* Remove RecyclerViewBackedScrollViewStatic

* Remove SafeAreaViewStatic

* Remove SegmentedControlIOSStatic

* Remove SliderStatic

* Remove StatusBarStatic

* Remove ScrollViewStatic

* Remove SnapshotViewIOSStatic

* Remove SwipeableListViewStatic

* Remove SwitchStatic

* Remove SwitchIOSStatic

* Remove TabBarIOSStatic

* Remove ToolbarAndroidStatic

* Remove TouchableHighlightStatic

* Remove TouchableNativeFeedbackStatic

* Remove TouchableOpacityStatic

* Remove TouchableWithoutFeedbackStatic

* Remove ViewStatic

* Remove ViewPagerAndroidStatic

* Remove WebViewStatic

* Remove ButtonStatic

* Remove ClippingRectangleStatic, GroupStatic, ShapeStatic, SurfaceStatic, ARTTextStatic, ARTTextStatic

* Remove KeyboardAvoidingViewStatic

* Remove FlatListStatic

* Rename TextProperties and friends to *Props

* Rename TextInputProperties and friends to *Props

* Rename WebViewProperties and friends to *Props

* Rename *Properties to *Props

* Rename ScrollViewProperties and friends to *Props

* Improve DatePickerAndroid.open()

* Rename ImagePropertiesSourceOptions to ImageSourcePropType

* Rename MaskedViewProps to MaskedViewIOSProps

* Rename PointProperties to PointPropType

* Rename TabBarItem to TabBarIOSItem

* Remove internal *Properties

* ImagePropertiesSourceOptions => ImagePropsSourceOptions

* Merge fail: react-native-linear-gradient has been removed

* Rename ImageProperties to ImageProps

* Update authors list

* Remove ImagePropsSourceOptions

* Move *Properties redirections to legacy-properties.d.ts
2018-04-26 10:30:30 -07:00
Simon Schick
b67b2df1d9 fix(hapi-auth-jwt2): allow validate and verify to return directly (#25306) 2018-04-26 10:28:20 -07:00
Erik Schierboom
2f6852e993 cucumber: Transform should support multiple matches and use World as this context (#25326)
* cucumber: Transform interface supports multiple matches

* cucumber: Use World as this in Transform
2018-04-26 10:27:03 -07:00
Nathan Shively-Sanders
8fdc62c1d6
Merge pull request #25335 from DefinitelyTyped/add-html-tag-names
Add html-tag-names
2018-04-26 09:51:28 -07:00
Nathan Shively-Sanders
9e86892aed Fix lint 2018-04-26 09:21:48 -07:00
Nathan Shively-Sanders
21d07f0fcf Add author header 2018-04-26 09:18:33 -07:00
Nathan Shively-Sanders
492f2dc66d Add html-tag-names 2018-04-26 09:13:42 -07:00
Ron Buckton
b6a6db1be3
Merge pull request #25269 from DefinitelyTyped/node10
Add new types for Node.js v10.0.0
2018-04-25 21:43:18 -07:00
Ron Buckton
bffb032822 Add new types for node v10.0.0 2018-04-25 21:16:21 -07:00
Andy
e7c97142be
Add 'travis-fold' (#25305) 2018-04-25 15:30:16 -07:00