diff --git a/packages/core/types/index.js b/packages/core/types/index.js index 246ac641b41..25cf7a0b0b8 100644 --- a/packages/core/types/index.js +++ b/packages/core/types/index.js @@ -1600,11 +1600,11 @@ export type Optimizer = {| */ export type Compressor = {| compress({| - stream: stream$Readable, + stream: Readable, options: PluginOptions, logger: PluginLogger, |}): Async<{| - stream: stream$Readable, + stream: Readable, type?: string, |}>, |};