Skip to content

Commit

Permalink
linter(update): format code to be ok with new linter version
Browse files Browse the repository at this point in the history
  • Loading branch information
akanass committed Oct 11, 2021
1 parent fbb7d5b commit 80e0a1e
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/lib/rx-file-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,14 +643,20 @@ export class RxFileUploadCls implements RxFileUpload {
defaultIfEmpty(fileData),
),
),
map((fileData: RxFileUploadFileData): {
rxFileUploadId: string;
fileData: string;
} => ({
rxFileUploadId:
this._rxFileUploadIds[typeof fileIndex === 'number' ? fileIndex : 0],
fileData: this._serialize(fileData),
})),
map(
(
fileData: RxFileUploadFileData,
): {
rxFileUploadId: string;
fileData: string;
} => ({
rxFileUploadId:
this._rxFileUploadIds[
typeof fileIndex === 'number' ? fileIndex : 0
],
fileData: this._serialize(fileData),
}),
),
map((data: { rxFileUploadId: string; fileData: string }): any =>
typeof additionalFormData !== 'undefined' &&
typeof additionalFormData.fieldName === 'string' &&
Expand Down

0 comments on commit 80e0a1e

Please sign in to comment.