kibana/x-pack/typings/hapi.d.ts
Tyler Smalley fc55ca5d60
[UA] Protects against Cloud plugin being disabled (#31637)
Currently, if the Cloud plugin is disabled the server will fail to start

Fixes #31612

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-02-22 10:06:24 -08:00

18 lines
503 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import 'hapi';
import { CloudPlugin } from 'x-pack/plugins/cloud';
import { XPackMainPlugin } from 'x-pack/plugins/xpack_main/xpack_main';
declare module 'hapi' {
interface PluginProperties {
cloud?: CloudPlugin;
xpack_main: XPackMainPlugin;
}
}