We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b41de47 commit 69c2ef4Copy full SHA for 69c2ef4
packages/utils/src/lib/merge-configs.ts
@@ -9,8 +9,8 @@ import type {
9
export function mergeConfigs(
10
config: CoreConfig,
11
...configs: Partial<CoreConfig>[]
12
-): Partial<CoreConfig> {
13
- return configs.reduce(
+): CoreConfig {
+ return configs.reduce<CoreConfig>(
14
(acc, obj) => ({
15
...acc,
16
...mergeCategories(acc.categories, obj.categories),
0 commit comments