Commit Graph
51559 Commits
Author SHA1 Message Date
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: https://github.com/jonschlinkert/parse-git-config/blob/a2a1ba179a115478f44938638e5d37ea33ae6632/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
Kiyotoshi Ichikawa 55194a76e4 Updated types and appended some.
The proxy.proxyRes property could be further expressed to take one or three parameters. Its previous representation was not correct according to the documentation and default configuration the package generates.
Specified types for watchEvents, open, and logLevel options.
Converted type Object references to object per recommended guidelines of DefinitelyTyped repo.
Converted type Function references to arrow function.
More SnippetOptions properties, defined FormsOptions under GhostOptions.
Added and modified tests.
2018-04-25 15:43:30 -04:00
Kiyotoshi Ichikawa 22d1088f3c Merge remote-tracking branch 'upstream/master' 2018-04-25 15:42:30 -04:00
Conan 9bb37f0327 [Joi] - add schema option to .when in v13.0.1 (#25175)
* add schema option to .when

* move changes to v13

* fix

* add name
2018-04-25 12:18:31 -07:00
Ben Wildeman 29f14089b2 Expo: Added missing props to Svg (#25162)
* Added missing props to Svg

* Added space
2018-04-25 12:16:57 -07:00
chanakadrathnayaka 10014f2625 Typescript definition for leaflet-routing-machine (#25249)
* Leaflet routing machine typing definition implementation :: Tested

* strictFunctionTypes set true

* Added typescript version

* Issue fixes

* Issue fixes

* Issue fixes

* Issue fixes

* Issue fixes

* Issue fixes
2018-04-25 12:15:52 -07:00
BehindTheMath 39d211b878 [proxy-lists] Add types for proxy-lists (#25267)
* [proxy-lists] Add types for proxy-lists

* Change minimum TS version

These definitions depends on request, which has a minimum TS version
 of 2.3.

* Refactor static class and namespace to plain ES6 exports
2018-04-25 12:08:37 -07:00
BehindTheMath e178d12a21 [proxy-verifier] Add types for proxy-verifier (#25268)
* [proxy-verifier] Add types for proxy-verifier

* Add minimum TS version

These definitions depends on request, which has a minimum TS version
 of 2.3

* Refactor static class and namespace to plain ES6 exports
2018-04-25 12:08:10 -07:00
Mathias Paumgarten 65a9fe8ac0 adds types for a-big-triangle (#25275) 2018-04-25 12:06:32 -07:00
uwinkelvos 9c7b8df170 Added type definitions for koa-xml-body (#25273) 2018-04-25 12:06:10 -07:00
Luis Fernando Alvarez D 030ab23ed3 Added types for graphql-deduplicator (#25272) 2018-04-25 12:03:52 -07:00
Saad Quadri 8d8bf061a9 add types for deglob (#25277) 2018-04-25 12:02:45 -07:00
Daniel Schmidt 41187d8875 add types for npmlog (#25291) 2018-04-25 12:02:33 -07:00