mirror of
https://github.com/hcengineering/platform.git
synced 2026-10-01 22:15:04 +02:00
Switch to typescript 5.8.3 (#9152)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"@typescript-eslint/parser": "^6.11.0",
|
||||
"eslint-config-standard-with-typescript": "^40.0.0",
|
||||
"prettier": "^3.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript": "^5.8.3",
|
||||
"@types/qs": "~6.9.7",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
|
||||
@@ -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