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 0edfcf7 commit 2fefb61Copy full SHA for 2fefb61
src/index.ts
@@ -350,8 +350,11 @@ class Lens<T extends Settings> {
350
// }
351
352
private interfaces(): {} {
353
- const keys: (string | number | symbol)[] = this.disabled().flatMap(
354
- record => record[Options.Keys]
+ const keys: (string | number | symbol)[] = this.disabled().reduce(
+ (prev: (string | number | symbol)[], record) => {
355
+ return prev.concat(record[Options.Keys])
356
+ },
357
+ []
358
)
359
360
const combinedInterfaces = Object.assign(
0 commit comments