message: chore: fix cli lint issues
diff: #!/usr/bin/env node
  +/* tslint:disable:no-implicit-dependencies */
  import * as React from 'react';
  import { renderToString } from 'react-dom/server';
  import { ServerStyleSheet } from 'styled-components';
  -import { createServer, ServerResponse, ServerRequest } from 'http';
  -import * as zlib from 'zlib';
  -import { join, dirname } from 'path';
  +
  import { compile } from 'handlebars';
  +import { createServer, ServerRequest, ServerResponse } from 'http';
  +import { dirname, join } from 'path';
  +
  +import * as zlib from 'zlib';
  // @ts-ignore
  -import { Redoc, loadAndBundleSpec, createStore } from 'redoc';
  +import { createStore, loadAndBundleSpec, Redoc } from 'redoc';
  -import { createReadStream, writeFileSync, ReadStream, readFileSync, watch, existsSync } from 'fs';
  +import { createReadStream, existsSync, readFileSync, ReadStream, watch, writeFileSync } from 'fs';
  -import * as yargs from 'yargs';
  +import * as YargsParser from 'yargs';
  -type Options = {
  +interface Options {
  ssr?: boolean;
  watch?: boolean;
  cdn?: boolean;
  @@ -22,12 +25,12 @@ type Options = {
  title?: string;
  templateFileName?: string;
  redocOptions?: any;
  -};
  +}
  const BUNDLES_DIR = dirname(require.resolve('redoc'));
  -yargs
  - .command(
  +/* tslint:disable-next-line */
  +YargsParser.command(
  'serve [spec]',
  'start the server',
  yargs => {
  @@ -196,7 +199,9 @@ async function getPageHTML(
  pathToSpec: string,
  { ssr, cdn, title, templateFileName, redocOptions = {} }: Options,
  ) {
  - let html, css, state;
  + let html;
  + let css;
  + let state;
  let redocStandaloneSrc;
  if (ssr) {
  console.log('Prerendering docs');
  @@ -234,7 +239,7 @@ async function getPageHTML(
  ? '<script src="https://unpkg.com/redoc@next/bundles/redoc.standalone.js"></script>'
  : `<script>${redocStandaloneSrc}</script>`) + css
  : '<script src="redoc.standalone.js"></script>',
  - title: title,
  + title,
  });
  }
  @@ -274,7 +279,7 @@ function respondWithGzip(
  }
  }
  -function debounce(callback: Function, time: number) {
  +function debounce(callback: (...args) => void, time: number) {
  let interval;
  return (...args) => {
  clearTimeout(interval);
  