Commit Graph

44183 Commits

Author SHA1 Message Date
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
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
Ethan Frey
2d8ed8e3db Add defintions for github.com/tonyg/js-nacl (#25296) 2018-04-25 11:59:22 -07:00
Don Denton
d54d8943e3 (new definition) [qunit-dom] Add types (#25299) 2018-04-25 11:59:01 -07:00
Konstantin Simon Maria Möllers
f659a6fb16 [whatwg-streams] Make classes generic, add transform streams (#25292)
* [whatwg-streams] Make stream classes generic

* [whatwg-streams] Add transform streams

* [whatwg-streams] Add ksm2 to authors
2018-04-25 11:57:10 -07:00
Armin Pfurtscheller
9c7cdc97e5 Added types/wampy v6.x.x (#25265) 2018-04-25 11:56:00 -07:00
JB Nizet
e9b73ce6db luxon: add changes introduced in versions 1.1.0 (#25237) 2018-04-25 11:55:37 -07:00
Matt Terski
69fb65bf61 Add S3's serverSideEncryption option (#25262) 2018-04-25 11:55:21 -07:00
Vincent Langlet
e81f217c01 Add NavigationContainerComponent (#25270) 2018-04-25 11:55:08 -07:00
Jan Lohage
b3ce091e34 Update index.d.ts (#25283) 2018-04-25 11:54:53 -07:00
Niklas Wulf
08f61aa813 [accept-language-parser] add PickOptions (#25289) 2018-04-25 11:54:06 -07:00
Zev Spitz
bfefeaadb9 activex-mshtml: default properties; fix for default argument values in jsdoc (#25293)
* Fix activex-stdole

* Reduce any

* Default properties; fix jsDoc default values

* Fix office tests

* activex-office dtslint fix

* activex-vbide: default properties; default values of optional parameters

* activex-vbide: dtslint fixes

* activex-msforms -- default properties; default parameter values in jsDoc

* Reduce duplicate types

* dtslint fix

* activex-outlook version bump

* activex-powerpoint Typescript version bump

* activex-vbide Typescript version bump

* post-DefinitelyTyped-build fixes

* Fix Column and List setters

* Fix for Excel tests

* Default properties; fix default parameter values in jsDoc

* Remove max-line-length
2018-04-25 11:53:53 -07:00
Louis Hache
f58ed1701b [@types/grid-styled] Support AlignSelf property on Box (#25261) 2018-04-25 11:52:41 -07:00
Ron Buckton
efbdc03f8c Merge pull request #25271 from DefinitelyTyped/keyofCompatibility
Compatibility fix for keyof T in ts 2.9
2018-04-24 20:51:49 -07:00
Ron Buckton
b73b4426dd compatibility fix for keyof T in ts 2.9 2018-04-24 19:48:14 -07:00
Bruno Lemos
fdb2c25846 [react-native] Support Layout Props (#25083)
Support some styles as View and Image props, e.g. <View flex={1} />
2018-04-24 18:34:33 -07:00
Zev Spitz
163ae93d86 MSOffice dependencies: activex-office, activex-msforms, activex-vbide, activex-stdole -- default properties; jsdoc fixes (#25256)
* Fix activex-stdole

* Reduce any

* Default properties; fix jsDoc default values

* Fix office tests

* activex-office dtslint fix

* activex-vbide: default properties; default values of optional parameters

* activex-vbide: dtslint fixes

* activex-msforms -- default properties; default parameter values in jsDoc

* Reduce duplicate types

* dtslint fix

* activex-outlook version bump

* activex-powerpoint Typescript version bump

* activex-vbide Typescript version bump

* post-DefinitelyTyped-build fixes

* Fix Column and List setters

* Fix for Excel tests
2018-04-24 17:38:01 -07:00
Bruno Lemos
e5c82b2910 [react-native-linear-gradient] Remove type definitions (#25147)
The project has a `index.d.ts` file since v2.4.0.
2018-04-24 17:37:10 -07:00
Bruno Lemos
a5cb711763 [expo] Un-extend LinearGradientProps from ViewProperties to unblock #25083 (#25149) 2018-04-24 17:36:43 -07:00