diff --git a/src/plugins/expressions/common/expression_renderers/expression_handlers.ts b/src/plugins/expressions/common/expression_renderers/expression_handlers.ts new file mode 100644 index 0000000000000..d6fb78c7d714c --- /dev/null +++ b/src/plugins/expressions/common/expression_renderers/expression_handlers.ts @@ -0,0 +1,13 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { DefaultInterpreterRenderHandlers, InterpreterRenderHandlers } from './types'; + +export function getDefaultHandlers(): InterpreterRenderHandlers { + return new DefaultInterpreterRenderHandlers() as InterpreterRenderHandlers; +} diff --git a/src/plugins/expressions/common/expression_renderers/index.ts b/src/plugins/expressions/common/expression_renderers/index.ts index 2a09f59a7a3e0..c2f0a6f9ffb1e 100644 --- a/src/plugins/expressions/common/expression_renderers/index.ts +++ b/src/plugins/expressions/common/expression_renderers/index.ts @@ -9,3 +9,4 @@ export * from './types'; export * from './expression_renderer'; export * from './expression_renderer_registry'; +export * from './expression_handlers'; diff --git a/src/plugins/expressions/common/expression_renderers/types.ts b/src/plugins/expressions/common/expression_renderers/types.ts index e447f633cdd55..2923b0754ac19 100644 --- a/src/plugins/expressions/common/expression_renderers/types.ts +++ b/src/plugins/expressions/common/expression_renderers/types.ts @@ -117,7 +117,3 @@ export class DefaultInterpreterRenderHandlers implements IInterpr } export type InterpreterRenderHandlers = T & DefaultInterpreterRenderHandlers; - -export function getDefaultHandlers(): InterpreterRenderHandlers { - return new DefaultInterpreterRenderHandlers() as InterpreterRenderHandlers; -}