Fix mime property. It must be "any" like v16.

This commit is contained in:
rafaelsouzaf
2017-12-09 17:36:15 -03:00
parent 6e56e7d014
commit 4d97af115e

View File

@@ -2,7 +2,6 @@ import * as http from "http";
import * as catbox from "catbox";
import * as zlib from "zlib";
import * as Podium from "podium";
import {MimosOptions} from "mimos";
import {
PayloadCompressionDecoderSettings,
Plugin,
@@ -169,7 +168,7 @@ export class Server extends Podium {
* modified directly but only through the [mime](https://github.com/hapijs/hapi/blob/master/API.md#server.options.mime) server setting.
* [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-servermime)
*/
mime: MimosOptions;
mime: any;
/**
* An object containing the values exposed by each registered plugin where each key is a plugin name and the values