mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 04:07:43 +02:00
Switch to typescript 5.8.3 (#9152)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -47,9 +47,7 @@ export function collectFields (fieldMapping: BitrixFieldMapping[]): string[] {
|
||||
for (const f of fieldMapping) {
|
||||
switch (f.operation.kind) {
|
||||
case MappingOperation.CopyValue:
|
||||
fields.push(
|
||||
...Array.from(f.operation.patterns.map((it) => it.field).filter((it) => it !== undefined) as string[])
|
||||
)
|
||||
fields.push(...Array.from(f.operation.patterns.map((it) => it.field).filter((it) => it !== undefined)))
|
||||
break
|
||||
case MappingOperation.CreateChannel:
|
||||
fields.push(...Array.from(f.operation.fields.map((it) => it.field).filter((it) => it !== undefined)))
|
||||
|
||||
Reference in New Issue
Block a user