Commit Graph
53392 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 3006ef22b3 Merge pull request #30888 from divideby/vis-on-initial-draw
add onInitialDrawComplete event support
2018-11-30 13:08:28 -08:00
Nathan Shively-Sanders 83e50a2ee1 Merge pull request #30909 from ecraig12345/jju
Add definitions for jju
2018-11-30 11:32:31 -08:00
Nathan Shively-Sanders de749a56c4 Merge pull request #30911 from taoqf/master
add types baidu-app
2018-11-30 11:31:04 -08:00
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
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
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
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
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
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
Alex Jerabek 278797da32 Fix HTML brackets 2018-11-29 12:08:44 -08: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
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
Mine Starks 7d8c9c9ce6 Merge pull request #30789 from muzea/hotfix/babel__core
fix(babel__core): the transform actually return File
2018-11-29 09:27:19 -08:00
Mine Starks a412da1f0e Merge pull request #30908 from pc-jedi/promise-bull
[bull] Callbacks have to return Promise
2018-11-29 09:26:49 -08:00
Mine Starks 1b0e7571e8 Merge pull request #30900 from cameron-martin/function-parent-null-return
[@babel/traverse]: Added null to Scope#getFunctionParent return type.
2018-11-29 09:24:01 -08:00
Mateusz Glapinski 0faecf90db * overloads few methods that should return Promise if a callback parameter is omitted
* adds HostedFieldsHostedFieldsFieldName type
* update tests
2018-11-29 17:21:08 +01:00
taoqf 0bc65f163b Merge remote-tracking branch 'dt/master' 2018-11-29 13:50:18 +08:00
taoqf f8a55ca2b6 add definition baidu-app 2018-11-29 13:48:15 +08:00
muzea e70908a9cd fix: lint error 2018-11-29 13:12:55 +08:00
MuYu ee7018b7e4 Merge branch 'master' into hotfix/babel__core 2018-11-29 13:06:31 +08:00
Elizabeth Craig 5068c79527 Allow parse and stringify options for update() 2018-11-28 20:29:55 -08:00
Mine Starks 96f1ee52c6 Merge pull request #30728 from jrspriggs/master
Add MSSQL PreparedStatement constructor using Transaction
2018-11-28 20:08:24 -08:00
Mine Starks 715fb43cca Merge pull request #30720 from BlondeLlama/master
DefinitelyTyped/openlayers: added moveTolerance to mapOptions
2018-11-28 20:07:03 -08:00
Mine Starks b89e340114 Merge pull request #30713 from malash/fix-weixin-app-types
[weixin-app] fix api params
2018-11-28 20:06:03 -08:00
Mine Starks fa90345348 Merge pull request #30744 from cm-wada-yusuke/fix-ngeohash-parameter-types
[ngeohash] function 'encode' also accepts string latitude and longitude.
2018-11-28 19:34:31 -08:00
Mine Starks e9ab13db14 Merge pull request #30735 from mlafleur/mlafleur-patch-NewmanRunExecutionAssertionError
Updated NewmanRunExecutionAssertionError
2018-11-28 19:33:39 -08:00
Mine Starks a5396e81ab Merge pull request #30719 from carnesen/ini
Refine types for npm package "ini"
2018-11-28 19:33:11 -08:00
Mine Starks 03f6bfbe16 Merge pull request #30688 from Fluccioni/missing-mapbox-classic-definition
feat(mapbox): add missing styleLayer definition
2018-11-28 19:32:10 -08:00
Mine Starks b6693e79c5 Merge pull request #30759 from bvanreeven/file-type-minimum-bytes
Add minimumBytes property to file-type
2018-11-28 19:30:37 -08:00
Mine Starks ec1d3e7c49 Merge pull request #30754 from wosevision/mongoose-posthook-overload
Mongoose posthook overload
2018-11-28 19:30:13 -08:00
Mine Starks 4ad5daaa42 Merge pull request #30758 from justingrant/patch-2
react-datepicker: Bump library version to 1.8 to prepare for 2.00
2018-11-28 19:29:41 -08:00
Mine Starks 35b2b44dde Merge pull request #30595 from christophehurpeau/patch-1
webpack: NormalModuleReplacementPlugin doesnt seems deprecated
2018-11-28 19:26:54 -08:00
Mine Starks 5e81ca672a Merge pull request #30773 from rvitorsantos/patch-1
[oauth2-server] Add typing for Abstract Grant Type
2018-11-28 19:25:50 -08:00