Commit Graph
53372 Commits
Author SHA1 Message Date
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
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
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
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
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
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
Mine Starks 4050d48a1a Merge pull request #30770 from luz-alphacode/paper-nullable
[@type/paper] fillColor/strokeColor/shaderColor can be null
2018-11-28 19:25:18 -08:00
Mine Starks 17c182f5bc Merge pull request #30764 from Kovensky/react-react-type
Strengthen type of ReactType to also validate intrinsic elements
2018-11-28 19:24:53 -08:00
Mine Starks d3da6c974c Merge pull request #30767 from Bastorx/patch-1
Update react-tag-input type
2018-11-28 19:19:01 -08:00
Mine Starks 6ad5492dd0 Merge pull request #30884 from geirsagberg/master
[redux-first-router] Update definitions for Options for 2.1
2018-11-28 19:18:36 -08:00
Mine Starks 306f6e4031 Merge pull request #30604 from isLishude/master
[node]: add props to repl.Context
2018-11-28 19:17:56 -08:00
Nathan Shively-Sanders 57817923a2 Merge pull request #30901 from BradleyHill/fabric-textbox-getSelectionStyles
fabric TextBox.getSelectionStyles signature to latest fabricjs
2018-11-28 16:28:10 -08:00
Nathan Shively-Sanders 4a2c64b1c0 Merge pull request #30907 from AlexJerabek/AlexJ-ExcelDV
[office-js] Clarify formula behavior for data validation rules
2018-11-28 16:24:46 -08:00
Nathan Shively-Sanders e740ccf805 Merge pull request #30906 from AlexJerabek/AlexJ-Word
[office-js] Remove redundant text
2018-11-28 16:24:23 -08:00
Christian Düfel 7ea37092f0 Callbacks have to return Promise 2018-11-29 00:53:29 +01:00
Alex Jerabek c0f3e556bb Clarify formula behavior for data validation rules 2018-11-28 15:10:50 -08:00
isLishude 9845123915 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2018-11-29 06:44:24 +08:00
Alex Jerabek e228d2d09b Remove redundant text 2018-11-28 14:38:39 -08:00
Nathan Shively-Sanders 28cad56c45 Merge pull request #30905 from DefinitelyTyped/swap-status-badge-images
Swap status badge images, too
2018-11-28 14:14:00 -08:00
Alex Jerabek eccc7f9c6d Grammar fix 2018-11-28 14:09:42 -08:00