Skip to content

Commit e4b5880

Browse files
authored
fix(docs): _.merge doesn't concat arrays (#314)
- it's a deep merge that merges them by index - the rest of the docs are accurate, just this one mention was incorrect - eventually should move to shallow merge/replace arrays to better reflect how `tsconfig` `extends` works, but just fix the docs for now
1 parent 4a69b0d commit e4b5880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ See [#108](https://github.com/ezolenko/rollup-plugin-typescript2/issues/108)
112112
]
113113
```
114114

115-
This is a [deep merge](https://lodash.com/docs/4.17.4#merge) (objects are merged, arrays are concatenated, primitives are replaced, etc), increase `verbosity` to 3 and look for `parsed tsconfig` if you get something unexpected.
115+
This is a [deep merge](https://lodash.com/docs/4.17.4#merge) (objects are merged, arrays are merged by index, primitives are replaced, etc), increase `verbosity` to 3 and look for `parsed tsconfig` if you get something unexpected.
116116

117117
* `tsconfig`: `undefined`
118118

0 commit comments

Comments
 (0)