diff --git a/x-pack/legacy/plugins/infra/index.ts b/x-pack/legacy/plugins/infra/index.ts index 8e9756c7249ebe..dbf1f4ad61de3b 100644 --- a/x-pack/legacy/plugins/infra/index.ts +++ b/x-pack/legacy/plugins/infra/index.ts @@ -7,7 +7,7 @@ import { i18n } from '@kbn/i18n'; import JoiNamespace from 'joi'; import { resolve } from 'path'; -import { PluginInitializerContext, SavedObjectsClientContract } from 'src/core/server'; +import { PluginInitializerContext } from 'src/core/server'; import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import KbnServer from 'src/legacy/server/kbn_server'; import { getConfigSchema } from './server/kibana.index'; diff --git a/x-pack/legacy/plugins/infra/server/lib/adapters/framework/adapter_types.ts b/x-pack/legacy/plugins/infra/server/lib/adapters/framework/adapter_types.ts index b26c3ba265ba0b..625607c0980283 100644 --- a/x-pack/legacy/plugins/infra/server/lib/adapters/framework/adapter_types.ts +++ b/x-pack/legacy/plugins/infra/server/lib/adapters/framework/adapter_types.ts @@ -11,10 +11,6 @@ import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { RouteMethod, RouteConfig } from '../../../../../../../../src/core/server'; import { APMPluginContract } from '../../../../../../../plugins/apm/server/plugin'; -interface ApmIndices { - 'apm_oss.transactionIndices': string | undefined; -} - // NP_TODO: Compose real types from plugins we depend on, no "any" export interface InfraServerPluginDeps { usageCollection: UsageCollectionSetup; diff --git a/x-pack/plugins/apm/server/plugin.ts b/x-pack/plugins/apm/server/plugin.ts index 1d4e22ffe60c3c..8ddd092a961375 100644 --- a/x-pack/plugins/apm/server/plugin.ts +++ b/x-pack/plugins/apm/server/plugin.ts @@ -7,7 +7,6 @@ import { PluginInitializerContext, Plugin, CoreSetup, - RequestHandlerContext, SavedObjectsClientContract, } from 'src/core/server'; import { Observable, combineLatest, AsyncSubject } from 'rxjs';