message: Stop using any
diff: @@ -147,9 +147,8 @@ function getWebAppUrl() {
  // status code and inject CORS response headers.
  function workaroundDigitalOceanApiCors() {
  const headersFilter = {urls: ['https://api.digitalocean.com/*']};
  - electron.session.defaultSession.webRequest.onHeadersReceived(
  - // tslint:disable-next-line:no-any
  - headersFilter, (details: electron.OnHeadersReceivedListenerDetails, callback: (response: any) => void) => {
  + electron.session.defaultSession.webRequest.onHeadersReceived(headersFilter,
  + (details: electron.OnHeadersReceivedListenerDetails, callback: (response: electron.CallbackResponse) => void) => {
  if (details.method === 'OPTIONS') {
  details.responseHeaders['access-control-allow-origin'] = 'outline://web_app';
  if (details.statusCode === 403) {
  @@ -165,7 +164,7 @@ function workaroundDigitalOceanApiCors() {
  details.responseHeaders['access-control-max-age'] = '86400';
  }
  }
  - callback(details);
  + callback(details as electron.CallbackResponse);
  });
  }
  