feat: upgraded typescript to 3.6.3 (#145)

This commit is contained in:
Thomas Klein
2019-10-02 22:32:31 +02:00
committed by Juan Picado @jotadeveloper
parent 74576bda12
commit f8a1f2cbb8
6 changed files with 201 additions and 137 deletions

View File

@@ -17,10 +17,6 @@ export interface State {
loaded: boolean;
error: boolean;
}
interface AbortControllerInterface {
signal: () => void;
abort: () => void;
}
export type cancelAllSearchRequests = () => void;
export type handlePackagesClearRequested = () => void;
@@ -169,7 +165,7 @@ export class Search extends Component<RouteComponentProps<{}>, State> {
}
};
private requestList: AbortControllerInterface[];
private requestList: AbortController[];
public getAdorment(): JSX.Element {
return (