From e3224233793afdbfd918512551a11952a5e7e03e Mon Sep 17 00:00:00 2001 From: Adam Carr Date: Mon, 30 Mar 2015 18:43:43 -0400 Subject: [PATCH] updating IServerOptions for optional properties --- hapi/hapi.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hapi/hapi.d.ts b/hapi/hapi.d.ts index 77eaf8f08..2cd06cd6e 100644 --- a/hapi/hapi.d.ts +++ b/hapi/hapi.d.ts @@ -147,11 +147,11 @@ declare module "hapi" { }; /** options passed to the mimos module (https://github.com/hapijs/mimos) when generating the mime database used by the server and accessed via server.mime.*/ - mime: any; + mime?: any; /** if true, does not load the inert (file and directory support), h2o2 (proxy support), and vision (views support) plugins automatically. The plugins can be loaded manually after construction. Defaults to false (plugins loaded). */ - minimal: boolean; + minimal?: boolean; /** plugin-specific configuration which can later be accessed via server.settings.plugins. plugins is an object where each key is a plugin name and the value is the configuration. Note the difference between server.settings.plugins which is used to store static configuration values and server.plugins which is meant for storing run-time state. Defaults to {}.*/ - plugins: IDictionary; + plugins?: IDictionary; }