Commit Graph
53698 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 9684f4a4be Merge pull request #30889 from BendingBender/mustache-express
Add types for mustache-express
2018-11-30 11:29:30 -08:00
Zak Angelle 96d4557ecd yup: Add resolve type to TestContext 2018-11-30 12:59:39 -06:00
Fabio Tea 8814139174 [url-assembler]: making 'strict: boolean' parameter optional (+adjusted version comment) 2018-11-30 19:56:58 +01:00
Eloy Durán ec2d721961 Merge pull request #30959 from ide/fix-rnc
[react-native] Make requireNativeComponent work with an update to @types/react
2018-11-30 19:48:46 +01:00
Fabio Tea a386b24578 url-assembler: making 'strict: boolean' parameter of param functions optional as per api-definition of 1.2.10 2018-11-30 19:48:40 +01:00
James Ide 65430a8a7b [react-native] Make requireNativeComponent work with an update to @types/react
4dd9510a50 changed `React.ReactType` to look at entries in the `JSX.IntrinsicElements` map, which caused rendering `React.ReactType<any>` elements to fail. This commit fixes the RN type declarations by returning `any`. We don't care about the actual return type that much -- it's concretely a string but externally, as a user of react-native, you'd want to only use it as a JSX component type and not as a string.

And since it's a string that isn't registered with `JSX.IntrinsicElements`, there's no extra type information (ex: list of valid props) associated with it. Longer term, it might make sense for `@types/react-native` to add native component types like `RCTView` to `JSX.IntrinsicElements` and go back to using `React.ReactType<'RCTView'>` with `requireNativeComponent`, but this is a disruptive change.

Test plan: Ran tests, verified they pass again.

Fixes #30958.
2018-11-30 10:17:33 -08:00
Nathan Shively-Sanders 8d8a70d0f4 Merge pull request #30897 from BendingBender/timing-safe-equal
Add types for timing-safe-equal
2018-11-30 09:26:32 -08:00
Nathan Shively-Sanders f35cd84086 Merge pull request #30899 from BendingBender/diffie-hellman
Add types for diffie-hellman
2018-11-30 09:25:57 -08:00
Nathan Shively-Sanders 7e1ba4933f Merge pull request #30932 from markwolff/appinsights-add-properties
ApplicationInsights-JS: Add properties and measurements to trackDependency
2018-11-30 08:46:48 -08:00
Gilad Peleg 3c08522763 Gravatar can accept optional html img attributes 2018-11-30 18:46:24 +02:00
Silas Rech 4831c49ca4 [postcss-url] add typings 2018-11-30 17:15:51 +01:00
Toby Li c83d99b2fe Corrected notification duration to timeout, state restored to nomal 2018-11-30 15:28:29 +00:00
slyrz 38e1c355dd Remove Promise in Request.frame function
The type definition of the Request class declares the return type
of the frame() function as Promise<Frame | null>, but it
should be Frame | null only.
2018-11-30 13:23:22 +01:00
Jessica c5bc70efc0 Fix lint 2018-11-30 20:40:24 +09:00
Jessica 0d6d7ce20f Add missing file declaration 2018-11-30 20:32:32 +09:00
Gerhard Stoebich c2e36d8f4b [node] add some more elements to IncomingHttpHeaders 2018-11-30 12:01:59 +01:00
Eloy Durán c34029e6e0 Merge pull request #30601 from jeroenvervaeke/master
react-navigation: Added property type to DrawerItems
2018-11-30 11:48:07 +01:00
Jessica 38c7639b43 Don't augment the css prop by default, check and document limitations 2018-11-30 19:29:09 +09:00
Matt McCutchen 5610636ad2 react: Improve type checking of component static properties. (#30730)
- Copy properties from ComponentClass to the Component class.

- Recommend the react-typescript-helpers package for checking the
  defaultProps and propTypes at a component definition.

- As a fallback, have JSX.LibraryManagedAttributes check the
  defaultProps and propTypes every time a component is used.

- Fix test failures in dependent packages.

Fixes #28515.
Fixes #16967.
2018-11-30 06:24:18 +00:00
Law Smith 8d5940c36b Fixing linter errors. 2018-11-29 17:50:40 -08:00
Law Smith 09b6f76746 Added support for params when starting sagaTester. 2018-11-29 16:45:28 -08:00
Nathan Shively-Sanders d2123ba252 Merge pull request #30864 from joshdover/es-consistency
Order overloaded functions consistently in @types/elasticsearch
2018-11-29 15:43:50 -08:00
Jeroen Vervaeke 9c0e5d4bac Merged upstream/master 2018-11-30 00:36:59 +01:00
Mark Wolff c5896588bf Reduce line length 2018-11-29 15:30:05 -08:00
Nathan Shively-Sanders 2eb853a30b Merge pull request #30926 from AlexJerabek/AlexJ-HTML
[office-js] Fix HTML brackets
2018-11-29 15:25:35 -08:00
Mark Wolff 5cce7fcb72 Add properties tests 2018-11-29 14:52:50 -08:00
Mark Wolff 221e85cc38 Add properties and measurements to trackDependency 2018-11-29 14:49:05 -08:00
Hernan Rajchert 2da1cef96f fix: unist ts version 2018-11-29 19:40:11 -03:00
Hernan Rajchert 03ae76d4ec chore: update definitions
Update definitions to match those defined by the library author
2018-11-29 18:54:27 -03:00
Dobes Vandermeer 56761f59b8 Add hint to CollectionAggregationOptions
Although this option is, for some reason, not document.  It is supported.

It follows the format specified here:

https://docs.mongodb.com/manual/reference/command/aggregate/
2018-11-29 12:40:58 -08:00
Tyler 0ccda5781a react-flatpickr test multiple elements 2018-11-29 13:31:29 -07:00
Tyler 3bc0b5bec9 react-flatpickr allow Element array 2018-11-29 13:25:36 -07:00
Alex Jerabek 278797da32 Fix HTML brackets 2018-11-29 12:08:44 -08:00
Tyler 47b4772299 react-flatpickr use ReadonlyArray 2018-11-29 12:01:10 -07:00
Mine Starks 35c3c6fbfe Merge pull request #30921 from mateusz-g/master
[braintree-web] Use of promises + additional improvements
2018-11-29 10:55:33 -08:00
Tyler 5baad0aabf react-flatpickr remove patch version 2018-11-29 11:48:28 -07:00
Tyler c652a0afb4 Revert "react-flatpickr remove minor version"
This reverts commit 0085b9868c.
2018-11-29 11:47:37 -07:00
Tyler 0085b9868c react-flatpickr remove minor version 2018-11-29 11:45:23 -07:00
Tyler f8ad249741 refactor react-flatpickr test 2018-11-29 11:42:10 -07:00
Tyler 84d0e5f3c6 update react-flatpickr definitions 2018-11-29 11:24:47 -07:00
Mine Starks c11fada964 Merge pull request #30902 from Flarna/node_alpn
[node] Add missing alpnProtocol and createConnection
2018-11-29 09:59:25 -08:00
Mine Starks c532e3fe30 Merge pull request #30904 from AlexJerabek/AlexJ-Dialog
[office-js] Add DialogOptions.promptBeforeOpen
2018-11-29 09:59:07 -08:00
Mine Starks c7651b777a Merge pull request #30891 from pluma/arangodb
[arangodb] Add Collection#name()
2018-11-29 09:58:42 -08:00
Mine Starks 7f558c5aa6 Merge pull request #30855 from Quas94/master
Update names and cleanup for Dropbox Chooser definitions
2018-11-29 09:58:15 -08:00
Mine Starks bfd765902f Merge pull request #30795 from christianchown/react-infinite-calendar-full-api
[react-infinite-calendar] Extend typings to include the Enhanced Default Functionality
2018-11-29 09:57:56 -08:00
Mine Starks fcae653a2b Merge pull request #30793 from clark-stevenson/master
Minor Update to Pixi.js
2018-11-29 09:54:28 -08:00
Mine Starks d82915e025 Merge pull request #30794 from SimonSchick/feat/hapi-17.8
feat(hapi): 17.8
2018-11-29 09:53:06 -08:00
Mine Starks e9b6c512cc Merge pull request #30779 from KurtPreston/KurtPrestonUnsubscribe
Removing self as definition owner in reactstrap and react-jsonschema-form
2018-11-29 09:51:37 -08:00
Mine Starks 8ace58127e Merge pull request #30769 from RMHonor/master
[seamless-immutable] Add mode property to merge config
2018-11-29 09:42:23 -08:00
Mine Starks 97f607bb75 Merge pull request #30440 from mattmccutchen/react-navigation-strictfunctiontypes
react-navigation: Make declarations work with strictFunctionTypes.
2018-11-29 09:29:21 -08:00