Commit Graph
48235 Commits
Author SHA1 Message Date
Dmitriy Savchenko 686d449242 [react-twitter-auth] update types (#27680)
* Add missing props

* Add more tests

* Update types version

* Fix specified type version for package

* Fix specified version
2018-08-06 11:35:26 -07:00
golyalpha 953faadd23 Fix types in multiple classes [CesiumJS] (#27672)
* Changes to mutiple classes

Fixed types of PolygonGraphics
 - the type of fill property should be boolean
 - the types in constructor's options object should match the types of the class properties
Fixed types of LabelGraphics
 - the font property is a string specifying the CSS font
 - see change notes to PolygonGraphics
Fixed types of EllipseGraphics
 - the outlineColor prop is of type Color, not Property
 - see change notes to PolygonGraphics

* Fixed types of LabelGraphics
 - fillColor type changed to Color
 - outlineColor type changed to Color
 - outlineWidth type changed to number

* Fixed types in EllipseGraphics

* Updated PolygonGraphics

material property accepts both MaterialProperty and Color types

* Updated types in EllipseGraphics
2018-08-06 11:34:49 -07:00
David J. Felix efe7ba616a [@types/aws-lambda]: Add extractedFields optional field (#27670)
* [@types/aws-lambda]: Add extractedFields optional field

Added an undocumented optional field to a datatype which is sent zipped and base64 encoded. This field is only available if users select certain options when creating a subscription filter.

You can see the field used if you create a subscription filter to elasticsearch and look at the source for the builtin lambda. I couldn't find any documentation for this field except in the terms "fields extracted" [here](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html) and found some amazon code referencing it [here](https://github.com/amazon-archives/cloudwatch-logs-subscription-consumer/blob/master/src/test/resources/aws-lambda-log-example.json#L14).

I nearly went insane tracking this down.

* Narrow the type of extracted fields to string:string

* Add test for extracted fields
2018-08-06 11:34:23 -07:00
denisname c1b7e33e7f d3-quadtree: JsDoc, strictNullChecks and TS 2.3 (#27648)
* Add JsDoc and use default generics

* Activate strictNullChecks and use ExpectError

* Fix most linting

trailing whitespace
TypeScript Version: 2.3

* Fix void-return

* Add length property to internal and leaf nodes
2018-08-06 11:33:00 -07:00
Andy 69f6358f3c dom4: ElementTraversal is now part of ParentNode (#27769) 2018-08-06 11:32:15 -07:00
Alex Jerabek 7321648432 [Office-js] Adding support tables to Shared API methods (#27829)
* Adding support details to shared API enums

* COrrecting link syntax

* Adding support tables
2018-08-06 11:31:12 -07:00
Ferdy Budhidharma 1d9679b2dc [react] add library managed attributes and upgrade TS requirement to 2.8 (#27901)
* feat(react): add library managed attributes and upgrade to 2.8

* fix broken tests

* fix lint errors
2018-08-06 18:51:26 +01:00
Andy 5f81770afb mocha: Fix $ExpectType assertions (#27774) 2018-08-06 10:29:53 -07:00
Jimmy Grand ce3424af64 mongoose: add context to the ModelFindByIdAndUpdateOptions (#27759) 2018-08-06 09:53:12 -07:00
Junyoung Clare Jang 44f4f58991 Fix broken README link to korean README (#27903) 2018-08-06 09:39:22 -07:00
Eugene Y. Q. Shen f9dcdecd8b [node]: Update assert.fail parameters (#27622)
[assert.fail](https://nodejs.org/api/assert.html#assert_assert_fail_message)
has an optional `message` parameter that can be either a `string` or `Error`.
2018-08-06 09:28:50 -07:00
Junyoung Clare Jang e53465fb03 Add korean readme (#27742) 2018-08-06 09:28:20 -07:00
loc 92aa146b06 Add types for sdp-transform (#27716)
* add types

* add test

* add missing function definitions
2018-08-06 09:27:45 -07:00
Mohammad Hossein Amri ddfe0d3b08 add convert function to quill's clipboard api (#27830)
* add convert function to quill's clipboard api

* create test for quill convert and rename some test function for consistency

* arrange the code for better diff

* fix test case

* add my name and github
2018-08-06 09:26:34 -07:00
Olly Levett 6b9e17df58 Add jqueryui slider class type (#27896) 2018-08-06 14:48:25 +01:00
Ferdy Budhidharma bc0c933415 feat(react-dependents): update to TS 2.8 (part 2 of 2) (#27744)
* feat(react-dependents): update to ts 2.8

* fix version mismatches

* remove package.json

* post merge updates

* add package.json back again
2018-08-06 06:28:42 +01:00
Takuya Fujiwara 9c32df15f4 add @types/svg-path-parser (#27869) 2018-08-03 21:20:54 -07:00
Eloy Durán 526d1caf3a Merge pull request #27867 from alloy/react-relay-fragment-references
[react-relay] Type-check fragment references.
2018-08-03 23:04:34 -04:00
Eloy Durán 95ca74c7a2 [react-relay] Type-check fragment references.
Related to https://github.com/relay-tools/relay-compiler-language-typescript/issues/7
2018-08-03 22:53:44 -04:00
Eloy Durán 858cdbb16c Merge pull request #27865 from Lavoaster/patch-1
styled-system: Fix internal reference to types
2018-08-03 22:21:42 -04:00
Adam Lavin 2fc559fe3c styled-system: Fix internal reference to types 2018-08-04 00:25:25 +01:00
nscarcella 83a4cac231 Added declaration of chrisjpatty/react-dragtastic (#27669)
* Added declaration of tweetdeck/valiant (#27385)

* Added declaration of tweetdeck/valiant

* fixed version notation and miss typo.

* lint fixes

* PR fixes
2018-08-03 15:35:17 -07:00
Klaus Meinhardt cabbc399ff add @iarna/toml (#27861)
* add @iarna/toml

* fix path mapping
2018-08-03 15:32:30 -07:00
Christopher Dieringer f37107862d fix(nanographql): support usage as normal fn (#27863) 2018-08-03 15:29:16 -07:00
Daniel 5d2acd7ea2 Add typings for is-callable (#27859)
* [@types/is-callable] Add type definition

* [@types/is-callable] Remove optional quantifier from parameter
2018-08-03 15:28:50 -07:00
Laurent Wouters dfccb836de Added type definitions for rdflib 0.17 (#27847) 2018-08-03 14:30:38 -07:00
Elizabeth Samuel ba1789ffaf office-js: clean up links and tables (#27862) 2018-08-03 14:26:28 -07:00
Jake Low b98e0c95a7 Rename storejs -> store to match NPM package (fixes #27825) (#27858) 2018-08-03 14:03:53 -07:00
Craig Boland d61e26f9d3 Add explicit typing for $.fn.dataTable.ext property. (#27857)
#27734
2018-08-03 14:02:08 -07:00
dassennato 9932dc6a02 passport-saml: Add 'name' property to SamlConfig (#27824) 2018-08-03 14:01:41 -07:00
remin be86ebdb41 update three LoadingManager (#27846)
https://github.com/mrdoob/three.js/pull/11259
2018-08-03 13:59:00 -07:00
Matt Oliver 50fd5dc2e5 Added typings for @storybook/addon-jest (#27852) 2018-08-03 13:57:52 -07:00
Ferdy Budhidharma 6d2fc7181a feat(react-dependents): update to TS 2.8 (part 1 of 2) (#27743)
* feat(react-dependents): update to TS 2.8

* exclude react-dom

* fix version mismatches
2018-08-03 21:01:14 +01:00
Ron Buckton 9fe65ab328 [NodeJS] Fix 'this' type for stream options. (#27788)
* Fix 'this' type for stream options.

* Reverse max_old_space_size option

* PR Feedback

* Fix module augmentation in vinyl-fs
2018-08-03 11:57:42 -07:00
Adam Lavin 9f36a12764 Update styled-system types to 3.0 (#27683)
* Initial styled-system 3.0 upgrade

* Change returntypes back to any

* Add missing style functions, and reorder functions

* Add util types, update tests

* Added variant property to TestButton

* Move utils back into index.d.ts

* Split out index.d.ts to better reflect npm package structure

* Fix lint errors
2018-08-03 11:51:52 -07:00
Claas Ahlrichs 7d077bf418 Feature/react select v2 update (#27837)
* updated parameter names in function signatures

* addressed return type of "CSS functions"

* simplified StylesConfig and SelectComponentsConfig

* updated type of base parameter in styleFn

* removed invalid property from HTML select element
2018-08-03 11:49:22 -07:00
Radosław Miernik 4e450a27b6 Fixed typo. (#27843) 2018-08-03 11:10:12 -07:00
Jonny Fairfull 271b8f20c0 fix: update autoplay types to boolean or string. (#27838) 2018-08-03 11:05:49 -07:00
Nikolai Ommundsen fb1b2554a8 Chrome-apps better coverage, cleanup and fixes (#27849)
* Bugfixes: Webview is an HTMLElement and also frame must be of type chrome to set options

* Bugfixes: Webview is an HTMLElement and also frame must be of type chrome to set options

* Bluetooth Socket: typings complete

* Bluetooth tests

* Fix typo

* Typo fix

* HID typings, but missing documentation

* Documentation and testing added

* InstanceID Typings

* Typings for mdns complete

* typings for chrome.syncFileSystem

* Major cleanup - comments and documentation review

* More cleanup, comment shortening, bugfixing, updates

* Cleanup and fixes: Continued (WIP)

* Fixed and cleanup: idle, instanceId, mediaGalleries (+added docs)

* Transfer types to enums

* networking.onc -> complete api typing, Enums to types to prevent runtime errors

* Restored enums that are present (after checking)

* Implemented desktopCapture

* Added management

* Typings for experimental clipboard api

* chrome.networking.onc: Documentation + fixes

* Removed unnecessary imports and compiler options.

* Bumped typescript version to support new language features.

* Cleanup: No need to specify defaults
2018-08-03 10:59:09 -07:00
Ben Iofel c64a754835 @types/graphql: is*Type() predicates can take null and undefined (#27785)
* @types/graphql: is*Type() predicates can take null and undefined

* add tests

* use any

* assert*Type() should take any

* add tests
2018-08-03 10:57:51 -07:00
nemoinho 630a154f1c Update redom-definitions (#27839)
* Add lifecycle-events

* Add exported alias `s()` and `h()`

* Add  definitions for ListPool, because it's exported in redom as well

* Add namespace for list and svg to enable `list.extend` as described in [redom-docs](https://redom.js.org/documentation/#list-extend)
2018-08-03 10:57:19 -07:00
Ron Buckton aff6b6dfeb Make GridAutoValue responsive (#27827) 2018-08-03 10:55:37 -07:00
Elias Toivanen 8e20fb6f88 @types/react-native - Add missing property textContentType for TextInputIOSProps. (#27809)
* @types/react-native

Add missing property `textContentType` for `TextInputIOSProps`.

* Add the `textContentType` in the TextInput test
2018-08-03 10:55:18 -07:00
Kevin Mircovich 3a7e4864a0 added trial_from_plan to ISubscriptionCustCreationOptions interface (#27820)
This property was added to the Stripe API on 2018-05-21

[API Change Log](https://stripe.com/docs/upgrades#2018-05-21)
[API Docs](https://stripe.com/docs/api#create_subscription-trial_from_plan)
2018-08-03 10:55:00 -07:00
Adam Eisenreich 9241cf1a2b Fix types from last big addition (#27834)
* Fix some type from last big addition

* Version

* Test player.play

* Remove patch version

* remove whitespaces
2018-08-03 10:54:48 -07:00
Jiayu Liu 6d2581cf26 update setData to include callback (#27832) 2018-08-03 10:51:04 -07:00
Max Rumpf 9995645f5b [@types/dnssd] Fix return types (#27828)
* [@types/dnsds] Fix return types

Especially the ServiceType constructor was handled rather poorly before. This commit fixes it.
Some methods (e.g. for resolving) could probably also be handled better, but that will be another PR.

* Increase version number

* Fix tests

* Make options optional

* Fix oversight introduces in previous commit
2018-08-03 10:50:40 -07:00
Simon Hoss 610b0b70cf Added additional ns prop for react-i18next (#27812) 2018-08-03 10:50:04 -07:00
Elizabeth Samuel a440521e0b office-js: Update links (#27850) 2018-08-03 10:48:02 -07:00
Manuel Warum 94f81483b9 Adding types for crypto-random-string 1.0 (#27686)
* Adding types for crypto-random-string 1.0

* Fixup in last commit wrt review

* Fixing import of crypto-random-string test

* Changing tslint.json as per review
2018-08-03 10:45:51 -07:00