Skip to content

Commit 80e0a1e

Browse files
committed
linter(update): format code to be ok with new linter version
1 parent fbb7d5b commit 80e0a1e

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/lib/rx-file-upload.ts

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -643,14 +643,20 @@ export class RxFileUploadCls implements RxFileUpload {
643643
defaultIfEmpty(fileData),
644644
),
645645
),
646-
map((fileData: RxFileUploadFileData): {
647-
rxFileUploadId: string;
648-
fileData: string;
649-
} => ({
650-
rxFileUploadId:
651-
this._rxFileUploadIds[typeof fileIndex === 'number' ? fileIndex : 0],
652-
fileData: this._serialize(fileData),
653-
})),
646+
map(
647+
(
648+
fileData: RxFileUploadFileData,
649+
): {
650+
rxFileUploadId: string;
651+
fileData: string;
652+
} => ({
653+
rxFileUploadId:
654+
this._rxFileUploadIds[
655+
typeof fileIndex === 'number' ? fileIndex : 0
656+
],
657+
fileData: this._serialize(fileData),
658+
}),
659+
),
654660
map((data: { rxFileUploadId: string; fileData: string }): any =>
655661
typeof additionalFormData !== 'undefined' &&
656662
typeof additionalFormData.fieldName === 'string' &&

0 commit comments

Comments
 (0)