Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Mar 12, 2019
1 parent 54432b1 commit d6d268c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/upload/upload.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ class TestUploadComponent {
this._beforeUpload = true;
this._beforeUploadList = fileList;
return true;
};
}
nzCustomRequest: any;
nzData: any;
nzFilter: UploadFilter[] = [];
Expand All @@ -1284,12 +1284,12 @@ class TestUploadComponent {
_onPreview = false;
onPreview = (): void => {
this._onPreview = true;
};
}
_onRemove = false;
onRemove: null | ((file: UploadFile) => boolean | Observable<boolean>) = (): boolean => {
this._onRemove = true;
return true;
};
}
_nzChange: UploadChangeParam;

nzChange(value: UploadChangeParam): void { this._nzChange = value; }
Expand Down Expand Up @@ -1343,11 +1343,11 @@ class TestUploadListComponent {
_onPreview = false;
onPreview: VoidFunction | null = (): void => {
this._onPreview = true;
};
}
_onRemove = false;
onRemove: any = (): void => {
this._onRemove = true;
};
}
}

@Component({
Expand Down

0 comments on commit d6d268c

Please sign in to comment.