Remove merge helper and add more type declarations.#5649
Remove merge helper and add more type declarations.#5649loganfsmyth merged 1 commit intobabel:7.0from
Conversation
|
@loganfsmyth, thanks for your PR! By analyzing the history of the files in this pull request, we identified @hzoo, @forivall and @DmitrySoshnikov to be potential reviewers. |
Codecov Report
@@ Coverage Diff @@
## 7.0 #5649 +/- ##
==========================================
+ Coverage 84.32% 84.39% +0.06%
==========================================
Files 285 284 -1
Lines 9761 9753 -8
Branches 2737 2734 -3
==========================================
Hits 8231 8231
+ Misses 1014 1008 -6
+ Partials 516 514 -2
Continue to review full report at Codecov.
|
|
|
||
| declare module "lodash/merge" { | ||
| declare export default <T: Object>(T, Object) => T; | ||
| } |
There was a problem hiding this comment.
Maybe we should use https://github.com/flowtype/flow-typed?
There was a problem hiding this comment.
Yeah, I thought about it, but it only has declarations for the root lodash module, so since we use the lodash/merge and such, it didn't work. If we switch over to the global module we definitely can use flow-typed eventually though.
* 'master' of github.com:hulkish/babel: (190 commits) Fix incorrect property ordering with obj rest spread on nested (babel#5685) Fix PathHoister hoisting before a same-scope variable declaration. Updated transform-react-display-name for createReactClass addon (babel#5554) Fix PathHoister error attaching after export declarations. add .mjs to list of well known extensions Remove babel-helper-builder-conditional-assignment-operator-visitor, unused in babel [skip ci] (babel#5676) use find-cache-dir for babel-register cache (babel#5669) Fix operator processing in object super. -> parsedAst string -> sourceCode, ast -> generatedCode back to babylon Switch to pirates for babel-register. (babel#3670) [skip ci] babylon -> babel, ast -> parsedAst [readme] change code -> string Add support for object type spread (babel#5525) Fix object destructuring in param arrays (babel#5650) Remove merge helper and add more type declarations. (babel#5649) Typecheck much more of the config loading process (babel#5642) update to alpha.9 (babel#5639) v7.0.0-alpha.9 ...
* '7.0' of https://github.com/babel/babel: (190 commits) Fix incorrect property ordering with obj rest spread on nested (babel#5685) Fix PathHoister hoisting before a same-scope variable declaration. Updated transform-react-display-name for createReactClass addon (babel#5554) Fix PathHoister error attaching after export declarations. add .mjs to list of well known extensions Remove babel-helper-builder-conditional-assignment-operator-visitor, unused in babel [skip ci] (babel#5676) use find-cache-dir for babel-register cache (babel#5669) Fix operator processing in object super. -> parsedAst string -> sourceCode, ast -> generatedCode back to babylon Switch to pirates for babel-register. (babel#3670) [skip ci] babylon -> babel, ast -> parsedAst [readme] change code -> string Add support for object type spread (babel#5525) Fix object destructuring in param arrays (babel#5650) Remove merge helper and add more type declarations. (babel#5649) Typecheck much more of the config loading process (babel#5642) update to alpha.9 (babel#5639) v7.0.0-alpha.9 ...
Added more types and removed our
mergeWithhelper because it is no longer needed now that plugin ordering is explicitly handled in option-manager from https://github.com/babel/babel/pull/5602/files#diff-86d518831fa938a96b0f375e1c81d207R111