Skip to content

Commit

Permalink
fix(merge): fix build erorrs
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Sep 1, 2020
1 parent bed8bcf commit 25b47f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/merge/src/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export function travelSchemaPossibleExtensions(

export function mergeExtensions(extensions: SchemaExtensions[]): SchemaExtensions {
return extensions.reduce(
(result, extensionObj) => [result, extensionObj].reduce<SchemaExtensions>(mergeDeep, {}),
(result, extensionObj) => [result, extensionObj].reduce<SchemaExtensions>(mergeDeep, {} as SchemaExtensions),
{} as SchemaExtensions
);
}
Expand Down

0 comments on commit 25b47f4

Please sign in to comment.