Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Jun 20, 2019
1 parent 7bceae8 commit 37e7dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/styled-components/src/models/ServerStyleSheet.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow
/* eslint-disable no-underscore-dangle */
import React from 'react';
import stream from 'stream';
import stream, { type Readable } from 'stream';

import { IS_BROWSER, SC_STREAM_ATTR } from '../constants';
import StyledError from '../utils/error';
Expand Down Expand Up @@ -57,7 +57,7 @@ export default class ServerStyleSheet {
return this.instance.toReactElements();
}

interleaveWithNodeStream(readableStream: stream.Readable) {
interleaveWithNodeStream(readableStream: Readable) {
if (!__SERVER__ || IS_BROWSER) {
throw new StyledError(3);
}
Expand Down

0 comments on commit 37e7dc5

Please sign in to comment.