Skip to content

Commit

Permalink
chore: fix cli ts compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Oct 18, 2018
1 parent ef520ea commit 7df471b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { renderToString } from 'react-dom/server';
import { ServerStyleSheet } from 'styled-components';

import { compile } from 'handlebars';
import { createServer, ServerRequest, ServerResponse } from 'http';
import { createServer, IncomingMessage, ServerResponse } from 'http';
import { dirname, join } from 'path';

import * as zlib from 'zlib';
Expand Down Expand Up @@ -258,7 +258,7 @@ async function getPageHTML(
// credits: https://stackoverflow.com/a/9238214/1749888
function respondWithGzip(
contents: string | ReadStream,
request: ServerRequest,
request: IncomingMessage,
response: ServerResponse,
headers = {},
) {
Expand Down

0 comments on commit 7df471b

Please sign in to comment.